Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9736/0.9736, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.5e-05, allocations: 5.688 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003937/0.003962, allocations: 3.641 MB / 277.9 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.005771, allocations: 1.07 MB / 278.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.006047, allocations: 19.88 kB / 278.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.006288, allocations: 115.1 kB / 279.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007019/0.00699, allocations: 252.2 kB / 279.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.007314, allocations: 156.2 kB / 279.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008929/0.008207, allocations: 0.9959 MB / 280.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.008641, allocations: 347.4 kB / 280.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007729/0.009414, allocations: 0.6119 MB / 281.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.01009, allocations: 482.8 kB / 281.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.01023, allocations: 100 kB / 282 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.01039, allocations: 104 kB / 282.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.0106, allocations: 295.1 kB / 282.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.01089, allocations: 331.2 kB / 282.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00075/0.01164, allocations: 0.7827 MB / 283.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.01165, allocations: 4 kB / 283.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01165, allocations: 0 / 283.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.01167, allocations: 0 / 283.5 MB, free: 11.09 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001623/0.01329, allocations: 1.508 MB / 285 MB, free: 9.523 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.01333, allocations: 8.031 kB / 285 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.01361, allocations: 172.3 kB / 285.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.01414, allocations: 0.5196 MB / 285.7 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.01418, allocations: 53.69 kB / 285.7 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.01425, allocations: 64.38 kB / 285.8 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005947/0.01485, allocations: 0.5445 MB / 286.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.01486, allocations: 0 / 286.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.01491, allocations: 31.98 kB / 286.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.01495, allocations: 29.31 kB / 286.4 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.01522, allocations: 188.9 kB / 286.6 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.01722, allocations: 2.238 MB / 288.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.01751, allocations: 262.9 kB / 289.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.01768, allocations: 128.2 kB / 289.2 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.0177, allocations: 12.33 kB / 289.2 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.01796, allocations: 257.8 kB / 289.5 MB, free: 4.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.333e-06/0.01796, allocations: 0 / 289.5 MB, free: 4.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.000973/0.01893, allocations: 0.5283 MB / 290 MB, free: 4.305 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.01899, allocations: 114.8 kB / 290.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.01932, allocations: 0.514 MB / 290.6 MB, free: 3.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.01935, allocations: 37.7 kB / 290.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.01955, allocations: 435.2 kB / 291.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.01963, allocations: 146.8 kB / 291.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.903e-05/0.01973, allocations: 103.8 kB / 291.3 MB, free: 2.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01989, allocations: 0.5625 MB / 291.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.01996, allocations: 44.95 kB / 291.9 MB, free: 2.293 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.02012, allocations: 260.7 kB / 292.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.02037, allocations: 327.2 kB / 292.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.02038, allocations: 0 / 292.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000416/0.02079, allocations: 388.2 kB / 292.9 MB, free: 1.164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.02081, allocations: 7.938 kB / 292.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.02082, allocations: 4 kB / 292.9 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.02104, allocations: 92.09 kB / 293 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.02121, allocations: 87.83 kB / 293.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.0228, allocations: 2.455 MB / 295.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.02296, allocations: 43.77 kB / 295.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.02298, allocations: 12 kB / 295.6 MB, free: 14.36 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.02314, allocations: 192.4 kB / 295.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.0232, allocations: 79.55 kB / 295.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.95e-05/0.02327, allocations: 65.44 kB / 295.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.02328, allocations: 7.984 kB / 295.9 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.02328, allocations: 4 kB / 295.9 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.02329, allocations: 7.984 kB / 295.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009824/0.02427, allocations: 0.9999 MB / 296.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02427, allocations: 0 / 296.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.0244, allocations: 47.91 kB / 297 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.02459, allocations: 83.59 kB / 297.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.02461, allocations: 12.03 kB / 297.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.0263, allocations: 2.451 MB / 299.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.0263, allocations: 8 kB / 299.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006131/0.02691, allocations: 0.5318 MB / 300.1 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.02704, allocations: 103.5 kB / 300.2 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.02709, allocations: 12 kB / 300.2 MB, free: 9.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.02721, allocations: 11.98 kB / 300.2 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.02729, allocations: 43.86 kB / 300.2 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.02731, allocations: 12 kB / 300.2 MB, free: 9.488 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002109/0.02752, allocations: 322.7 kB / 300.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.02752, allocations: 4 kB / 300.6 MB, free: 9.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005082/0.02803, allocations: 207.5 kB / 300.8 MB, free: 8.969 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.02818, allocations: 123.2 kB / 300.9 MB, free: 8.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005539/0.02873, allocations: 473.4 kB / 301.3 MB, free: 8.359 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.02874, allocations: 0 / 301.3 MB, free: 8.359 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.02904, allocations: 373.5 kB / 301.7 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.02945, allocations: 137.2 kB / 301.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.03119, allocations: 1.267 MB / 303.1 MB, free: 6.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.03137, allocations: 246.1 kB / 303.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.03152, allocations: 56.72 kB / 303.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.03177, allocations: 206.1 kB / 303.6 MB, free: 6.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.462e-06/0.03177, allocations: 0 / 303.6 MB, free: 6.02 MB / 282.7 MB Notification: Performance of Templates: time 0.01357/0.04534, allocations: 10.52 MB / 314.1 MB, free: 11.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9793090079911053]