Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000979/0.0009789, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008851/0.000885, allocations: 96.42 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.237e-05/1.241e-05, allocations: 4 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09538, allocations: 50.41 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4243, allocations: 85.14 MB / 472.6 MB, free: 9.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.4245, allocations: 83.94 kB / 472.7 MB, free: 9.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02575/0.4503, allocations: 9.684 MB / 482.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4504, allocations: 0 / 482.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.391e-05/0.4504, allocations: 20 kB / 482.4 MB, free: 15.84 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001346/0.4518, allocations: 0.7643 MB / 483.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4518, allocations: 12.03 kB / 483.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.4519, allocations: 63.25 kB / 483.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.4525, allocations: 388.7 kB / 483.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.4526, allocations: 23.95 kB / 483.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.4526, allocations: 32 kB / 483.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005348/0.4532, allocations: 274.6 kB / 483.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/0.4539, allocations: 418.8 kB / 484.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4539, allocations: 3.938 kB / 484.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.4539, allocations: 7.938 kB / 484.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.454, allocations: 8 kB / 484.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.4566, allocations: 1.678 MB / 486 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.4574, allocations: 354.9 kB / 486.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.4578, allocations: 201.5 kB / 486.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.4578, allocations: 4 kB / 486.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/0.4583, allocations: 240.7 kB / 486.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 5.02e-06/0.4583, allocations: 0 / 486.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006202/0.4589, allocations: 337.6 kB / 487.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.459, allocations: 122.6 kB / 487.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.4593, allocations: 269.5 kB / 487.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.4593, allocations: 33.69 kB / 487.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.4595, allocations: 240.8 kB / 487.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.4596, allocations: 126.2 kB / 487.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.4597, allocations: 4 kB / 487.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4598, allocations: 346.8 kB / 488.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.46, allocations: 101.1 kB / 488.4 MB, free: 9.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.4602, allocations: 232.3 kB / 488.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4604, allocations: 121.1 kB / 488.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4605, allocations: 0 / 488.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006412/0.4611, allocations: 409.9 kB / 489.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004961/0.4616, allocations: 1.336 MB / 490.5 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4616, allocations: 4 kB / 490.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.4619, allocations: 72.81 kB / 490.5 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.4623, allocations: 91.81 kB / 490.6 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.4638, allocations: 1.627 MB / 492.2 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.4641, allocations: 55.61 kB / 492.3 MB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.4642, allocations: 20 kB / 492.3 MB, free: 5.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.4642, allocations: 4 kB / 492.3 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005388/0.4647, allocations: 343.7 kB / 492.7 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4648, allocations: 4 kB / 492.7 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.4649, allocations: 72.81 kB / 492.7 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.4653, allocations: 92.23 kB / 492.8 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.4666, allocations: 1.631 MB / 494.5 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.4669, allocations: 43.72 kB / 494.5 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.4669, allocations: 20.08 kB / 494.5 MB, free: 3.027 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.diode.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.4671, allocations: 145.5 kB / 494.7 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.4672, allocations: 43.52 kB / 494.7 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/0.4678, allocations: 350.8 kB / 495 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4678, allocations: 7.984 kB / 495.1 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.4678, allocations: 0 / 495.1 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4678, allocations: 0 / 495.1 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.469, allocations: 0.8832 MB / 495.9 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.469, allocations: 0 / 495.9 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.4694, allocations: 71.89 kB / 496 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.4696, allocations: 64.83 kB / 496.1 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.4696, allocations: 8.016 kB / 496.1 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.4709, allocations: 1.627 MB / 497.7 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4709, allocations: 0 / 497.7 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007976/0.4717, allocations: 0.6024 MB / 498.3 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.4719, allocations: 144.6 kB / 498.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.472, allocations: 12 kB / 498.5 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.4723, allocations: 43.95 kB / 498.5 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.4724, allocations: 39.94 kB / 498.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.4724, allocations: 12 kB / 498.6 MB, free: 14.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.4726, allocations: 208.5 kB / 498.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4727, allocations: 4 kB / 498.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008097/0.4735, allocations: 219.2 kB / 499 MB, free: 14.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.diode.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y_last,meanVoltage.y_last) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.4736, allocations: 116 kB / 499.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.4747, allocations: 0.8491 MB / 499.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4748, allocations: 0 / 499.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.4751, allocations: 289.2 kB / 0.4885 GB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.4755, allocations: 59.64 kB / 0.4886 GB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.4769, allocations: 0.703 MB / 0.4892 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.4773, allocations: 0.8558 MB / 0.4901 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000254/0.4776, allocations: 67.22 kB / 0.4901 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.4776, allocations: 27.44 kB / 0.4902 GB, free: 11.25 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4776, allocations: 0 / 0.4902 GB, free: 11.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01094/0.4886, allocations: 6.213 MB / 0.4962 GB, free: 5.125 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches