Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_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.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 177.1 kB / 8.35 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.375/1.375, allocations: 221.5 MB / 230.3 MB, free: 7.516 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.001047/0.001047, allocations: 84.23 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.224e-05/1.227e-05, allocations: 0 / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09178, allocations: 50.43 MB / 387.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/0.4017, allocations: 85.12 MB / 472.6 MB, free: 9.691 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.402, allocations: 83.94 kB / 472.7 MB, free: 9.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02634/0.4284, allocations: 9.686 MB / 482.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4284, allocations: 0 / 482.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.436e-05/0.4284, allocations: 8 kB / 482.4 MB, free: 15.87 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.00141/0.4299, allocations: 0.7605 MB / 483.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4299, allocations: 12.03 kB / 483.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.43, allocations: 67.19 kB / 483.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.4306, allocations: 392.7 kB / 483.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.4307, allocations: 19.95 kB / 483.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/0.4308, allocations: 31.98 kB / 483.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005489/0.4313, allocations: 282.6 kB / 483.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.4323, allocations: 414.8 kB / 484.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.4324, allocations: 4 kB / 484.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.4324, allocations: 4 kB / 484.3 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.4325, allocations: 12 kB / 484.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003675/0.4362, allocations: 1.674 MB / 486 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.4374, allocations: 358.9 kB / 486.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/0.4379, allocations: 192.8 kB / 486.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.438, allocations: 7.984 kB / 486.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005949/0.4386, allocations: 248.6 kB / 486.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.427e-06/0.4386, allocations: 0 / 486.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.000952/0.4396, allocations: 337.5 kB / 487.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.4397, allocations: 118.6 kB / 487.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.4401, allocations: 269.6 kB / 487.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.4402, allocations: 29.69 kB / 487.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.4404, allocations: 244.8 kB / 487.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.4406, allocations: 126.2 kB / 487.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.4406, allocations: 0 / 487.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4408, allocations: 350.7 kB / 488.3 MB, free: 9.703 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.4411, allocations: 101.1 kB / 488.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.4415, allocations: 231.1 kB / 488.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.4418, allocations: 124.9 kB / 488.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4419, allocations: 0 / 488.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001021/0.4429, allocations: 405.5 kB / 489.1 MB, free: 8.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006613/0.4436, allocations: 1.333 MB / 490.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.4436, allocations: 4 kB / 490.4 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/0.444, allocations: 68.83 kB / 490.5 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.4446, allocations: 95.81 kB / 490.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.4469, allocations: 1.623 MB / 492.2 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.4475, allocations: 55.61 kB / 492.3 MB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.4476, allocations: 24.12 kB / 492.3 MB, free: 5.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4476, allocations: 7.984 kB / 492.3 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008668/0.4485, allocations: 339.6 kB / 492.6 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4485, allocations: 4.406 kB / 492.6 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002725/0.4488, allocations: 84.78 kB / 492.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.4493, allocations: 87.88 kB / 492.8 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.4514, allocations: 1.635 MB / 494.4 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.452, allocations: 47.78 kB / 494.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.4521, allocations: 20 kB / 494.5 MB, free: 3.035 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,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 (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.0002706/0.4523, allocations: 133.4 kB / 494.6 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.4525, allocations: 43.52 kB / 494.7 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009982/0.4535, allocations: 354.9 kB / 495 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.4535, allocations: 4 kB / 495 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4535, allocations: 4 kB / 495 MB, free: 2.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.4535, allocations: 4 kB / 495 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.4555, allocations: 0.8913 MB / 495.9 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4556, allocations: 0 / 495.9 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/0.456, allocations: 68.02 kB / 496 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/0.4563, allocations: 68.77 kB / 496.1 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.4564, allocations: 8.047 kB / 496.1 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.4584, allocations: 1.627 MB / 497.7 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.4584, allocations: 0 / 497.7 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.4598, allocations: 0.6401 MB / 498.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/0.4601, allocations: 148.5 kB / 498.5 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.381e-05/0.4601, allocations: 4 kB / 498.5 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.4606, allocations: 43.95 kB / 498.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.4608, allocations: 39.94 kB / 498.6 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.4609, allocations: 12 kB / 498.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003173/0.4612, allocations: 200.6 kB / 498.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4612, allocations: 4 kB / 498.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00149/0.4627, allocations: 215.3 kB / 499 MB, free: 14.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v) * 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_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 (37): * Single equations (assignments): 30 * 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.0002467/0.463, allocations: 124.9 kB / 499.1 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.4647, allocations: 0.842 MB / 500 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4647, allocations: 4.062 kB / 500 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.4653, allocations: 301 kB / 0.4885 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.4659, allocations: 71.64 kB / 0.4886 GB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.468, allocations: 0.7165 MB / 0.4893 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.4686, allocations: 0.8519 MB / 0.4901 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004089/0.469, allocations: 63.23 kB / 0.4902 GB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4692, allocations: 31.42 kB / 0.4902 GB, free: 11.19 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4692, allocations: 0 / 0.4902 GB, free: 11.19 MB / 378.7 MB Notification: Performance of Templates: time 0.01714/0.4863, allocations: 6.238 MB / 0.4963 GB, free: 5.051 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_R/ChopperStepDown_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches