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_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001454/0.001453, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001043/0.001043, allocations: 78.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.307e-05/4.318e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09202, allocations: 47.56 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/0.5071, allocations: 83.26 MB / 452.4 MB, free: 9.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.5074, allocations: 82.7 kB / 452.4 MB, free: 9.902 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03103/0.5385, allocations: 7.003 MB / 459.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.5385, allocations: 0 / 459.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.163e-05/0.5386, allocations: 15.92 kB / 459.5 MB, free: 3.938 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001791/0.5404, allocations: 0.6843 MB / 460.1 MB, free: 3.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5405, allocations: 8.031 kB / 460.2 MB, free: 3.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.5407, allocations: 55.44 kB / 460.2 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/0.5415, allocations: 365.2 kB / 460.6 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.5415, allocations: 26.91 kB / 460.6 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.5416, allocations: 42.31 kB / 460.6 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5427, allocations: 413.2 kB / 461 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.5427, allocations: 4 kB / 461 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/0.5428, allocations: 15.25 kB / 461.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.5428, allocations: 8 kB / 461.1 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.5436, allocations: 264.3 kB / 461.3 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.5473, allocations: 1.606 MB / 462.9 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.5482, allocations: 266.5 kB / 463.2 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004425/0.5486, allocations: 143.7 kB / 463.3 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.5487, allocations: 4 kB / 463.3 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005445/0.5492, allocations: 223.2 kB / 463.5 MB, free: 428 kB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 5e-06/0.5493, allocations: 0 / 463.5 MB, free: 428 kB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009509/0.5502, allocations: 317.1 kB / 463.9 MB, free: 172 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.5503, allocations: 136.5 kB / 464 MB, free: 4 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.551, allocations: 315.5 kB / 464.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.5511, allocations: 41.64 kB / 464.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.5513, allocations: 267 kB / 464.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.5514, allocations: 102.6 kB / 464.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.5515, allocations: 8 kB / 464.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5516, allocations: 334.8 kB / 465 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.5519, allocations: 88.88 kB / 465.1 MB, free: 14.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.5524, allocations: 216.1 kB / 465.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.5528, allocations: 138.4 kB / 465.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.5528, allocations: 0 / 465.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001062/0.5538, allocations: 417.7 kB / 465.9 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006592/0.5545, allocations: 1.431 MB / 467.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.5546, allocations: 7.984 kB / 467.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.5551, allocations: 76.83 kB / 467.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.5556, allocations: 59.84 kB / 467.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/0.5583, allocations: 1.792 MB / 469.2 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/0.5591, allocations: 71.72 kB / 469.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.5591, allocations: 19.95 kB / 469.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5592, allocations: 7.938 kB / 469.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/0.5602, allocations: 383.3 kB / 469.7 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5602, allocations: 8 kB / 469.7 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.5606, allocations: 80.75 kB / 469.8 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.561, allocations: 52.38 kB / 469.9 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/0.5637, allocations: 1.819 MB / 471.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.5643, allocations: 39.83 kB / 471.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.5644, allocations: 16 kB / 471.7 MB, free: 7.773 MB / 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 (39): * Single equations (assignments): 37 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.5646, allocations: 148 kB / 471.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.5648, allocations: 39.53 kB / 471.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.5649, allocations: 48.23 kB / 472 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.5649, allocations: 4 kB / 472 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.565, allocations: 0 / 472 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.565, allocations: 3.984 kB / 472 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/0.567, allocations: 0.9635 MB / 472.9 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.567, allocations: 0 / 472.9 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.5673, allocations: 27.92 kB / 473 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/0.5677, allocations: 72.81 kB / 473 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.5678, allocations: 8 kB / 473 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.5704, allocations: 1.755 MB / 474.8 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5704, allocations: 3.984 kB / 474.8 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.5717, allocations: 0.549 MB / 475.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.5721, allocations: 148.8 kB / 475.5 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.214e-05/0.5722, allocations: 12 kB / 475.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.5727, allocations: 32.03 kB / 475.5 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.5729, allocations: 35.89 kB / 475.6 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.5729, allocations: 15.98 kB / 475.6 MB, free: 3.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004486/0.5734, allocations: 250.1 kB / 475.8 MB, free: 3.414 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5734, allocations: 3.938 kB / 475.8 MB, free: 3.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001158/0.5746, allocations: 203.5 kB / 476 MB, free: 3.211 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * 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 (26): * Single equations (assignments): 19 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000238/0.5748, allocations: 113.1 kB / 476.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.5768, allocations: 0.838 MB / 477 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.5769, allocations: 4 kB / 477 MB, free: 2.203 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006358/0.5775, allocations: 274.3 kB / 477.2 MB, free: 1.922 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006794/0.5782, allocations: 74.17 kB / 477.3 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.5802, allocations: 0.5518 MB / 477.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.5808, allocations: 0.8273 MB / 478.7 MB, free: 424 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.581, allocations: 35.42 kB / 478.7 MB, free: 388 kB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.581, allocations: 4 kB / 478.7 MB, free: 384 kB / 346.7 MB Notification: Performance of Templates: time 0.01538/0.5964, allocations: 6.624 MB / 485.4 MB, free: 9.746 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_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_R/ChopperStepDown_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches