Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_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.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 173 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.538/1.538, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001131/0.001131, allocations: 86.7 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.774e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.08975, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3062/0.396, allocations: 83.12 MB / 453.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3963, allocations: 85.12 kB / 453.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02018/0.4165, allocations: 7.65 MB / 460.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4166, allocations: 0 / 460.9 MB, free: 3.664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.433e-05/0.4166, allocations: 12 kB / 460.9 MB, free: 3.652 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001134/0.4178, allocations: 0.7151 MB / 461.6 MB, free: 2.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4178, allocations: 12.03 kB / 461.6 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.4179, allocations: 59.25 kB / 461.7 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004955/0.4184, allocations: 376.3 kB / 462 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.4185, allocations: 32.19 kB / 462.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.4186, allocations: 47.05 kB / 462.1 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.4192, allocations: 450.5 kB / 462.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.4193, allocations: 3.938 kB / 462.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.4193, allocations: 22.55 kB / 462.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.4193, allocations: 15.94 kB / 462.6 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.4198, allocations: 283.4 kB / 462.9 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.4221, allocations: 1.714 MB / 464.6 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/0.4228, allocations: 311.1 kB / 464.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.4232, allocations: 206.2 kB / 465.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.4232, allocations: 4.594 kB / 465.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.4236, allocations: 235.8 kB / 465.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 3.237e-06/0.4237, allocations: 3.984 kB / 465.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0006124/0.4243, allocations: 354.7 kB / 465.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.4244, allocations: 106.8 kB / 465.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.4247, allocations: 319.5 kB / 466.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.4248, allocations: 33.7 kB / 466.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.4249, allocations: 236.4 kB / 466.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.425, allocations: 118.4 kB / 466.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.425, allocations: 4 kB / 466.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4252, allocations: 358.8 kB / 466.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.4254, allocations: 105.1 kB / 466.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.4256, allocations: 228.1 kB / 467.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.4259, allocations: 157.8 kB / 467.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4259, allocations: 4 kB / 467.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006623/0.4265, allocations: 463.5 kB / 467.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004539/0.427, allocations: 1.34 MB / 469.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.427, allocations: 0 / 469.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002732/0.4273, allocations: 76.81 kB / 469.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.4276, allocations: 75.89 kB / 469.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.4291, allocations: 1.686 MB / 471 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.4295, allocations: 71.66 kB / 471 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.4295, allocations: 23.94 kB / 471 MB, free: 9.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.4296, allocations: 4 kB / 471 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006033/0.4302, allocations: 413.5 kB / 471.5 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4302, allocations: 4 kB / 471.5 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.4304, allocations: 68.83 kB / 471.5 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.4306, allocations: 76.27 kB / 471.6 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.4321, allocations: 1.698 MB / 473.3 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.4324, allocations: 51.67 kB / 473.3 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.4324, allocations: 16 kB / 473.4 MB, free: 6.727 MB / 346.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,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (48): * Single equations (assignments): 46 * 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.0001304/0.4326, allocations: 151.9 kB / 473.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.4326, allocations: 43.59 kB / 473.6 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.4327, allocations: 48.27 kB / 473.6 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4327, allocations: 4 kB / 473.6 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4328, allocations: 3.953 kB / 473.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4328, allocations: 3.984 kB / 473.6 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.4339, allocations: 0.9173 MB / 474.5 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.434, allocations: 0 / 474.5 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.4342, allocations: 47.91 kB / 474.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/0.4344, allocations: 72.78 kB / 474.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.4344, allocations: 7.938 kB / 474.7 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.4358, allocations: 1.679 MB / 476.3 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.4358, allocations: 8.016 kB / 476.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/0.4365, allocations: 0.5922 MB / 476.9 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.4367, allocations: 148.4 kB / 477.1 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.4368, allocations: 12 kB / 477.1 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.4371, allocations: 31.97 kB / 477.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/0.4372, allocations: 48.02 kB / 477.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.4372, allocations: 12 kB / 477.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002424/0.4374, allocations: 238.2 kB / 477.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4374, allocations: 0 / 477.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007131/0.4382, allocations: 227.5 kB / 477.6 MB, free: 2.207 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductorSource.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (32): * Single equations (assignments): 25 * 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.0001619/0.4383, allocations: 130.8 kB / 477.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.4395, allocations: 0.8699 MB / 478.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4395, allocations: 4.25 kB / 478.6 MB, free: 1.145 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.4398, allocations: 286.4 kB / 478.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.4402, allocations: 67.7 kB / 479 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4415, allocations: 0.6841 MB / 479.7 MB, free: 80 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.4418, allocations: 0.8443 MB / 480.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000249/0.4421, allocations: 63.25 kB / 480.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.4422, allocations: 39.36 kB / 480.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.382e-06/0.4422, allocations: 0 / 480.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Templates: time 0.01085/0.453, allocations: 6.617 MB / 487.2 MB, free: 8.488 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_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/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches