Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001141/0.001141, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.504/1.504, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008659/0.0008659, allocations: 96.16 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 12 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3063, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.4143, allocations: 83.35 MB / 459.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.4146, allocations: 91.94 kB / 459.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.4334, allocations: 7.013 MB / 466.3 MB, free: 6.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.4335, allocations: 0 / 466.3 MB, free: 6.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.071e-05/0.4335, allocations: 15.92 kB / 466.3 MB, free: 6.145 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001299/0.4348, allocations: 0.7255 MB / 467 MB, free: 5.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4349, allocations: 12.03 kB / 467 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.435, allocations: 47.44 kB / 467.1 MB, free: 5.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.4355, allocations: 370.9 kB / 467.4 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.4356, allocations: 37 kB / 467.5 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.4356, allocations: 44 kB / 467.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007821/0.4364, allocations: 440.7 kB / 467.9 MB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.4365, allocations: 0 / 467.9 MB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.4365, allocations: 23.98 kB / 468 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.4365, allocations: 8 kB / 468 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.4372, allocations: 307.8 kB / 468.3 MB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.4393, allocations: 1.605 MB / 469.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.4399, allocations: 282.9 kB / 470.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.44, allocations: 4 kB / 470.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004239/0.4404, allocations: 231.5 kB / 470.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.4404, allocations: 0 / 470.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.001277/0.4417, allocations: 0.5704 MB / 471 MB, free: 1.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.4418, allocations: 114.8 kB / 471.1 MB, free: 1.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.4421, allocations: 336.8 kB / 471.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.4422, allocations: 37.7 kB / 471.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.4423, allocations: 224.4 kB / 471.7 MB, free: 472 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.4424, allocations: 94.64 kB / 471.7 MB, free: 376 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.4424, allocations: 12 kB / 471.8 MB, free: 364 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4426, allocations: 356.2 kB / 472.1 MB, free: 0 / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.4428, allocations: 116.9 kB / 472.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.4431, allocations: 242.8 kB / 472.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.4434, allocations: 153.7 kB / 472.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4434, allocations: 0 / 472.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007778/0.4442, allocations: 493.2 kB / 473.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004708/0.4447, allocations: 1.34 MB / 474.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4447, allocations: 0 / 474.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.445, allocations: 76.81 kB / 474.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.4452, allocations: 63.84 kB / 474.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.4469, allocations: 1.788 MB / 476.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.4473, allocations: 59.66 kB / 476.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.4473, allocations: 20 kB / 476.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.4473, allocations: 4 kB / 476.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006514/0.448, allocations: 402.1 kB / 476.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.448, allocations: 4.438 kB / 476.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.4482, allocations: 84.77 kB / 476.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.4484, allocations: 51.91 kB / 477 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.4499, allocations: 1.781 MB / 478.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.4502, allocations: 55.73 kB / 478.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.4503, allocations: 19.98 kB / 478.8 MB, free: 8.82 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,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0002837/0.4506, allocations: 265.5 kB / 479.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/0.4506, allocations: 39.56 kB / 479.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/0.4507, allocations: 44.11 kB / 479.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4507, allocations: 4 kB / 479.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4507, allocations: 0 / 479.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4508, allocations: 7.984 kB / 479.2 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.452, allocations: 0.8631 MB / 480 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.452, allocations: 0 / 480 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.4521, allocations: 27.92 kB / 480.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002318/0.4524, allocations: 72.81 kB / 480.1 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.4524, allocations: 12 kB / 480.1 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.4539, allocations: 1.78 MB / 481.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4539, allocations: 0 / 481.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.4548, allocations: 0.5702 MB / 482.5 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.4549, allocations: 148.6 kB / 482.6 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.455, allocations: 11.98 kB / 482.7 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.4553, allocations: 23.98 kB / 482.7 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4554, allocations: 43.89 kB / 482.7 MB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.4554, allocations: 8 kB / 482.7 MB, free: 4.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003012/0.4557, allocations: 267.2 kB / 483 MB, free: 4.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4557, allocations: 3.938 kB / 483 MB, free: 4.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007756/0.4565, allocations: 207.5 kB / 483.2 MB, free: 4.203 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * 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.0001671/0.4567, allocations: 114.5 kB / 483.3 MB, free: 4.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.458, allocations: 0.884 MB / 484.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.458, allocations: 192 / 484.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.4584, allocations: 287.4 kB / 484.5 MB, free: 2.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.4588, allocations: 79.67 kB / 484.6 MB, free: 2.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.4603, allocations: 0.8968 MB / 485.4 MB, free: 1.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.4606, allocations: 0.8276 MB / 486.3 MB, free: 1.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.4608, allocations: 39.27 kB / 486.3 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.967e-05/0.4609, allocations: 35.44 kB / 486.3 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4609, allocations: 3.938 kB / 486.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of Templates: time 0.01012/0.471, allocations: 6.01 MB / 492.4 MB, free: 10.95 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_res.mat","/var/lib/jenkins/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_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches