Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 74.03 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 152.2 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 46.33 kB / 319.4 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1068, allocations: 52.15 MB / 371.6 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01652/0.1234, allocations: 9.38 MB / 381 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00921/0.1326, allocations: 3.081 MB / 384.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.1352, allocations: 111.2 kB / 384.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003336/0.1386, allocations: 0.7177 MB / 384.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005083/0.1437, allocations: 1.189 MB / 386.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.1455, allocations: 471.4 kB / 386.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008776/0.1543, allocations: 5.132 MB / 391.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003491/0.1578, allocations: 2.433 MB / 394.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.1623, allocations: 2.442 MB / 396.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004839/0.1672, allocations: 2.786 MB / 399.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.1684, allocations: 0.6211 MB / 400 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.17, allocations: 0.6952 MB / 400.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.1717, allocations: 1.652 MB / 402.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004007/0.1757, allocations: 2.253 MB / 404.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009569/0.1853, allocations: 8.476 MB / 413 MB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1853, allocations: 0 / 413 MB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1853, allocations: 0 / 413 MB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001973/0.1855, allocations: 0 / 413 MB, free: 13.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01264/0.1981, allocations: 5.155 MB / 418.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1982, allocations: 8.922 kB / 418.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.2002, allocations: 0.572 MB / 418.8 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006615/0.2068, allocations: 2.814 MB / 421.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.2071, allocations: 291.8 kB / 421.9 MB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/0.2081, allocations: 391.9 kB / 422.2 MB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/0.2198, allocations: 6.123 MB / 428.4 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-05/0.2199, allocations: 3.938 kB / 428.4 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003962/0.2203, allocations: 164 kB / 428.5 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002309/0.2206, allocations: 204 kB / 428.7 MB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00881/0.2294, allocations: 5.016 MB / 433.7 MB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02914/0.2585, allocations: 14.13 MB / 447.9 MB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00676/0.2653, allocations: 3.898 MB / 451.8 MB, free: 6.453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004221/0.2695, allocations: 2.439 MB / 454.2 MB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/0.2698, allocations: 65.97 kB / 454.3 MB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/0.2698, allocations: 60.56 kB / 454.3 MB, free: 3.887 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.44e-06/0.2699, allocations: 0 / 454.3 MB, free: 3.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02244/0.2923, allocations: 10.01 MB / 464.4 MB, free: 9.789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.2924, allocations: 77.42 kB / 464.4 MB, free: 9.699 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/0.2965, allocations: 2.192 MB / 466.6 MB, free: 7.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000364/0.2968, allocations: 65.7 kB / 466.7 MB, free: 7.398 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001537/0.2984, allocations: 1.704 MB / 468.4 MB, free: 5.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.2994, allocations: 0.8831 MB / 469.3 MB, free: 4.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008633/0.3002, allocations: 416.7 kB / 469.7 MB, free: 4.375 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3004, allocations: 305.1 kB / 470 MB, free: 4.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.3027, allocations: 1.34 MB / 471.3 MB, free: 2.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.3053, allocations: 1.654 MB / 473 MB, free: 0.9766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1872/0.4925, allocations: 3.076 MB / 476 MB, free: 87.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.4925, allocations: 2.062 kB / 476.1 MB, free: 87.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007251/0.4998, allocations: 4.392 MB / 480.4 MB, free: 85.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.4998, allocations: 10.06 kB / 480.5 MB, free: 85.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.4998, allocations: 8 kB / 480.5 MB, free: 85.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005056/0.5049, allocations: 1.645 MB / 482.1 MB, free: 85.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.5065, allocations: 387.8 kB / 482.5 MB, free: 85.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/0.5252, allocations: 24.25 MB / 0.4949 GB, free: 67.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.5271, allocations: 95.69 kB / 0.4949 GB, free: 67.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.5272, allocations: 80.97 kB / 0.495 GB, free: 67.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002325/0.5296, allocations: 1.405 MB / 0.4964 GB, free: 65.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006193/0.5302, allocations: 280.5 kB / 0.4967 GB, free: 65.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/0.5359, allocations: 4.317 MB / 0.5009 GB, free: 61.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.5359, allocations: 24 kB / 0.5009 GB, free: 61.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.5359, allocations: 8.875 kB / 0.5009 GB, free: 61.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.5359, allocations: 11.95 kB / 0.5009 GB, free: 61.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.5469, allocations: 7.763 MB / 0.5085 GB, free: 53.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5469, allocations: 0 / 0.5085 GB, free: 53.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.5479, allocations: 291.7 kB / 0.5088 GB, free: 53.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004286/0.5522, allocations: 1.614 MB / 0.5104 GB, free: 51.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.5524, allocations: 60.36 kB / 0.5104 GB, free: 51.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/0.5699, allocations: 24.01 MB / 0.5339 GB, free: 26.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5699, allocations: 0 / 0.5339 GB, free: 26.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007529/0.5774, allocations: 6.041 MB / 0.5398 GB, free: 20.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.5787, allocations: 0.5823 MB / 0.5403 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005019/0.5792, allocations: 55.98 kB / 0.5404 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.5807, allocations: 125.9 kB / 0.5405 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004527/0.5811, allocations: 229.4 kB / 0.5407 GB, free: 19.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.5813, allocations: 67.98 kB / 0.5408 GB, free: 19.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002004/0.5833, allocations: 1.527 MB / 0.5423 GB, free: 17.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5833, allocations: 1.859 kB / 0.5423 GB, free: 17.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003181/0.5865, allocations: 0.9433 MB / 0.5432 GB, free: 16.92 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005303/0.587, allocations: 243 kB / 0.5434 GB, free: 16.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00577/0.5928, allocations: 4.76 MB / 0.5481 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.5928, allocations: 4 kB / 0.5481 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003803/0.5966, allocations: 3.277 MB / 0.5513 GB, free: 8.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/0.6003, allocations: 0.7324 MB / 0.552 GB, free: 7.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.6137, allocations: 8.575 MB / 0.5604 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003823/0.6176, allocations: 2.643 MB / 0.563 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001624/0.6192, allocations: 0.5208 MB / 0.5635 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.6197, allocations: 148.5 kB / 0.5636 GB, free: 11.75 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6197, allocations: 0 / 0.5636 GB, free: 11.75 MB / 446.1 MB Notification: Performance of Templates: time 0.09116/0.7109, allocations: 52.31 MB / 0.6147 GB, free: 8.125 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.030901586986147]