Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002491/0.002496, allocations: 175.3 kB / 8.15 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.2 MB / 213.8 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 95.12 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.071e-05/1.095e-05, allocations: 4 kB / 314.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2352, allocations: 47.55 MB / 361.9 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.365, allocations: 82.82 MB / 444.7 MB, free: 3.242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/0.3654, allocations: 93.98 kB / 444.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04969/0.4151, allocations: 7 MB / 451.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.334e-05/0.4152, allocations: 11.98 kB / 451.8 MB, free: 12.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.003071/0.4183, allocations: 0.7072 MB / 452.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.4184, allocations: 8.031 kB / 452.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.4187, allocations: 59.34 kB / 452.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.4202, allocations: 371.6 kB / 452.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.4203, allocations: 19.98 kB / 452.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.4205, allocations: 24 kB / 453 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001363/0.4219, allocations: 246 kB / 453.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.4235, allocations: 370.8 kB / 453.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.4236, allocations: 11.84 kB / 453.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.4237, allocations: 7.984 kB / 453.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.4238, allocations: 8.656 kB / 453.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006315/0.4301, allocations: 1.586 MB / 455.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.4313, allocations: 238.5 kB / 455.4 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/0.4321, allocations: 144.8 kB / 455.5 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.4321, allocations: 4 kB / 455.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007693/0.433, allocations: 210 kB / 455.8 MB, free: 7.969 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 6.051e-06/0.433, allocations: 0 / 455.8 MB, free: 7.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001382/0.4344, allocations: 270 kB / 456 MB, free: 7.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.4346, allocations: 140.5 kB / 456.2 MB, free: 7.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/0.4353, allocations: 259.4 kB / 456.4 MB, free: 7.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.4354, allocations: 33.73 kB / 456.4 MB, free: 7.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.4357, allocations: 257.5 kB / 456.7 MB, free: 6.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.436, allocations: 98.62 kB / 456.8 MB, free: 6.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.436, allocations: 0 / 456.8 MB, free: 6.883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002465/0.4363, allocations: 326.8 kB / 457.1 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/0.4368, allocations: 84.88 kB / 457.2 MB, free: 6.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/0.4374, allocations: 214.9 kB / 457.4 MB, free: 6.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.4379, allocations: 105.5 kB / 457.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.438, allocations: 0 / 457.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001529/0.4395, allocations: 350.4 kB / 457.8 MB, free: 5.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008397/0.4404, allocations: 1.395 MB / 459.2 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.4404, allocations: 8 kB / 459.3 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006662/0.4411, allocations: 68.83 kB / 459.3 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.442, allocations: 71.84 kB / 459.4 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/0.4458, allocations: 1.634 MB / 461 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/0.4468, allocations: 47.8 kB / 461.1 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/0.4469, allocations: 20.66 kB / 461.1 MB, free: 2.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4469, allocations: 3.938 kB / 461.1 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001411/0.4484, allocations: 289 kB / 461.4 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.4484, allocations: 8.031 kB / 461.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/0.449, allocations: 78.44 kB / 461.5 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.4497, allocations: 55.92 kB / 461.5 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003656/0.4534, allocations: 1.63 MB / 463.1 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/0.4543, allocations: 43.8 kB / 463.2 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.4544, allocations: 16.75 kB / 463.2 MB, free: 48 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.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 (43): * Single equations (assignments): 41 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003054/0.4547, allocations: 60.33 kB / 463.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.4549, allocations: 39.53 kB / 463.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.4551, allocations: 35.14 kB / 463.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4552, allocations: 4 kB / 463.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4552, allocations: 0 / 463.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.4552, allocations: 0 / 463.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.4583, allocations: 0.8752 MB / 464.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.4584, allocations: 384 / 464.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.459, allocations: 35.97 kB / 464.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/0.4596, allocations: 64.81 kB / 464.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/0.4596, allocations: 4.062 kB / 464.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00322/0.4629, allocations: 1.506 MB / 465.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.463, allocations: 0 / 465.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001759/0.4647, allocations: 0.5227 MB / 466.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.4651, allocations: 144.5 kB / 466.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.4652, allocations: 0 / 466.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/0.4657, allocations: 36.03 kB / 466.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4659, allocations: 27.95 kB / 466.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.4659, allocations: 12 kB / 466.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003355/0.4663, allocations: 199.1 kB / 466.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001081/0.4674, allocations: 187.3 kB / 466.9 MB, free: 12.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * 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 (29): * Single equations (assignments): 22 * 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.0002468/0.4676, allocations: 127.1 kB / 467.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.4695, allocations: 0.6792 MB / 467.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.4695, allocations: 0 / 467.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.4701, allocations: 241.7 kB / 468 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.4708, allocations: 60.34 kB / 468 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.4731, allocations: 0.6 MB / 468.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/0.4738, allocations: 0.8659 MB / 469.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4738, allocations: 0 / 469.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of Templates: time 0.01485/0.4886, allocations: 6.718 MB / 476.2 MB, free: 2.715 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_RL/ChopperStepDown_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches