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_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_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_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.001368/0.001368, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.434/1.434, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008124/0.0008124, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.762e-05, allocations: 4 kB / 322.5 MB, free: 17.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 47.57 MB / 370 MB, free: 1.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3102/0.4126, allocations: 83.55 MB / 453.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.4129, allocations: 90 kB / 453.7 MB, free: 9.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.4319, allocations: 7.333 MB / 461 MB, free: 3.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.432, allocations: 0 / 461 MB, free: 3.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.807e-05/0.432, allocations: 8 kB / 461 MB, free: 3.504 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.001085/0.4331, allocations: 0.7056 MB / 461.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4332, allocations: 8.031 kB / 461.7 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.4333, allocations: 55.34 kB / 461.8 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.4338, allocations: 374.6 kB / 462.1 MB, free: 2.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.4339, allocations: 29.44 kB / 462.2 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.4339, allocations: 47.03 kB / 462.2 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.4346, allocations: 435.9 kB / 462.6 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.4346, allocations: 0 / 462.6 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.4347, allocations: 23.05 kB / 462.7 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4347, allocations: 8 kB / 462.7 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.4352, allocations: 272 kB / 462.9 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.4374, allocations: 1.69 MB / 464.6 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005961/0.438, allocations: 283.6 kB / 464.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.4383, allocations: 150.8 kB / 465.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.4383, allocations: 8 kB / 465.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.4387, allocations: 241.5 kB / 465.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 3.437e-06/0.4387, allocations: 3.984 kB / 465.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005609/0.4393, allocations: 313.8 kB / 465.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.4394, allocations: 144.5 kB / 465.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.4397, allocations: 319.5 kB / 466.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.4398, allocations: 37.7 kB / 466.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.4399, allocations: 220.5 kB / 466.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.44, allocations: 114.5 kB / 466.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.44, allocations: 4 kB / 466.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4401, allocations: 350.8 kB / 466.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.4403, allocations: 96.88 kB / 466.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.4406, allocations: 227.8 kB / 467.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4408, allocations: 146.2 kB / 467.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4408, allocations: 0 / 467.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006298/0.4414, allocations: 447.6 kB / 467.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004448/0.4419, allocations: 1.424 MB / 469.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.4419, allocations: 4 kB / 469.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.4422, allocations: 72.81 kB / 469.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.4424, allocations: 71.84 kB / 469.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.444, allocations: 1.757 MB / 471 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.4444, allocations: 63.59 kB / 471.1 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.4444, allocations: 24.05 kB / 471.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.663e-06/0.4444, allocations: 4 kB / 471.1 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005659/0.445, allocations: 390.3 kB / 471.5 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.445, allocations: 4.469 kB / 471.5 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.4452, allocations: 84.94 kB / 471.6 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.4454, allocations: 59.86 kB / 471.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.447, allocations: 1.757 MB / 473.4 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.4473, allocations: 51.73 kB / 473.4 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.4473, allocations: 16 kB / 473.4 MB, free: 6.617 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.000132/0.4474, allocations: 143.1 kB / 473.6 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.4475, allocations: 39.53 kB / 473.6 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.791e-05/0.4476, allocations: 48.27 kB / 473.7 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4476, allocations: 4 kB / 473.7 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4476, allocations: 0 / 473.7 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.4476, allocations: 7.938 kB / 473.7 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.4488, allocations: 0.9762 MB / 474.7 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.4488, allocations: 3.984 kB / 474.7 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.449, allocations: 35.92 kB / 474.7 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001801/0.4492, allocations: 64.83 kB / 474.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.4492, allocations: 15.98 kB / 474.8 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.4506, allocations: 1.69 MB / 476.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4506, allocations: 4.031 kB / 476.5 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.4513, allocations: 0.5573 MB / 477 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.4515, allocations: 148.5 kB / 477.2 MB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.4515, allocations: 12.06 kB / 477.2 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.4518, allocations: 31.97 kB / 477.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.4519, allocations: 36.05 kB / 477.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.452, allocations: 19.91 kB / 477.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002394/0.4522, allocations: 242.2 kB / 477.5 MB, free: 2.297 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4522, allocations: 8.188 kB / 477.5 MB, free: 2.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006934/0.4529, allocations: 207.5 kB / 477.7 MB, free: 2.086 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.0001611/0.4531, allocations: 131.3 kB / 477.8 MB, free: 1.945 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.4542, allocations: 0.8423 MB / 478.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4542, allocations: 0 / 478.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.4545, allocations: 279.3 kB / 479 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.4549, allocations: 70.55 kB / 479 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.456, allocations: 0.5977 MB / 479.6 MB, free: 80 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.4564, allocations: 0.8318 MB / 480.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00024/0.4566, allocations: 59.39 kB / 480.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.4567, allocations: 31.44 kB / 480.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4567, allocations: 0 / 480.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of Templates: time 0.01059/0.4673, allocations: 6.442 MB / 487 MB, free: 8.688 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_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_RL/ChopperStepDown_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches