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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001528, allocations: 181.3 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 2.093/2.093, 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.001059/0.001059, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.537e-05, allocations: 4 kB / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09254, allocations: 47.57 MB / 369.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.5003, allocations: 83.55 MB / 452.7 MB, free: 9.633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.5007, allocations: 86 kB / 452.7 MB, free: 9.582 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03214/0.5329, allocations: 7.324 MB / 460.1 MB, free: 3.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5329, allocations: 7.875 kB / 460.1 MB, free: 3.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.191e-05/0.533, allocations: 8 kB / 460.1 MB, free: 3.359 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001857/0.5349, allocations: 0.6988 MB / 460.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5349, allocations: 11.97 kB / 460.8 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.5351, allocations: 56.47 kB / 460.8 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007835/0.5359, allocations: 369.3 kB / 461.2 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.536, allocations: 29.88 kB / 461.2 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.5361, allocations: 47.91 kB / 461.3 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.5372, allocations: 434.9 kB / 461.7 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.5372, allocations: 4 kB / 461.7 MB, free: 1.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.5373, allocations: 18.98 kB / 461.7 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.5373, allocations: 8 kB / 461.7 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.5381, allocations: 272.4 kB / 462 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.5419, allocations: 1.702 MB / 463.7 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009782/0.5429, allocations: 278.8 kB / 464 MB, free: 0 / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004822/0.5434, allocations: 150.9 kB / 464.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.5435, allocations: 4 kB / 464.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005971/0.5441, allocations: 243.2 kB / 464.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.946e-06/0.5441, allocations: 0 / 464.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001008/0.5451, allocations: 313.9 kB / 464.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5453, allocations: 144.4 kB / 464.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.5459, allocations: 315.5 kB / 465.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.546, allocations: 37.7 kB / 465.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.5463, allocations: 270.9 kB / 465.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.5464, allocations: 110.5 kB / 465.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.5465, allocations: 8 kB / 465.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5466, allocations: 330.8 kB / 465.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.5469, allocations: 96.88 kB / 466 MB, free: 13.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.5474, allocations: 223.8 kB / 466.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.5477, allocations: 146.1 kB / 466.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5478, allocations: 0 / 466.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001079/0.5488, allocations: 423.6 kB / 466.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006057/0.5495, allocations: 1.423 MB / 468.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.5495, allocations: 4 kB / 468.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.55, allocations: 80.75 kB / 468.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.5506, allocations: 71.84 kB / 468.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/0.5532, allocations: 1.759 MB / 470.1 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/0.554, allocations: 71.59 kB / 470.1 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.5541, allocations: 20 kB / 470.2 MB, free: 9.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5541, allocations: 4 kB / 470.2 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/0.5551, allocations: 386.8 kB / 470.5 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5551, allocations: 4 kB / 470.5 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.5555, allocations: 84.73 kB / 470.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.5559, allocations: 59.91 kB / 470.7 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.5584, allocations: 1.742 MB / 472.4 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.5589, allocations: 51.73 kB / 472.5 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.559, allocations: 20 kB / 472.5 MB, free: 6.973 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 (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.000227/0.5592, allocations: 135.2 kB / 472.6 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.5594, allocations: 43.53 kB / 472.7 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.5595, allocations: 40.27 kB / 472.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5596, allocations: 8 kB / 472.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5596, allocations: 0 / 472.7 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.5596, allocations: 7.938 kB / 472.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.5616, allocations: 0.9877 MB / 473.7 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5616, allocations: 0 / 473.7 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.562, allocations: 31.98 kB / 473.7 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003609/0.5624, allocations: 68.86 kB / 473.8 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.5624, allocations: 15.94 kB / 473.8 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.5647, allocations: 1.694 MB / 475.5 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5648, allocations: 3.938 kB / 475.5 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.5661, allocations: 0.5535 MB / 476.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.5664, allocations: 148.6 kB / 476.2 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.5665, allocations: 8 kB / 476.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005198/0.5671, allocations: 31.97 kB / 476.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.5672, allocations: 35.95 kB / 476.3 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.5673, allocations: 11.98 kB / 476.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000448/0.5678, allocations: 254.1 kB / 476.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5678, allocations: 0 / 476.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001163/0.5689, allocations: 207.5 kB / 476.8 MB, free: 2.449 MB / 346.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.0002379/0.5692, allocations: 123.4 kB / 476.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.5711, allocations: 0.8294 MB / 477.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5712, allocations: 0 / 477.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006059/0.5718, allocations: 282.5 kB / 478 MB, free: 1.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.5725, allocations: 65.84 kB / 478.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.5745, allocations: 0.6402 MB / 478.7 MB, free: 420 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.5751, allocations: 0.8351 MB / 479.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.5753, allocations: 31.44 kB / 479.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5753, allocations: 0 / 479.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Templates: time 0.01548/0.5908, allocations: 6.853 MB / 486.4 MB, free: 8.66 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