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.000969/0.000969, allocations: 182.6 kB / 18.04 MB, free: 3.785 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.243/1.243, allocations: 205.4 MB / 224.2 MB, free: 9.043 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.0007819/0.000782, allocations: 86.36 kB / 272.5 MB, free: 8.289 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002838, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1863, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08243/0.2687, allocations: 83.29 MB / 460.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.269, allocations: 87.94 kB / 460.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02045/0.2895, allocations: 7.658 MB / 468.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2895, allocations: 0 / 468.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.238e-05/0.2895, allocations: 12 kB / 468.1 MB, free: 5.488 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001313/0.2909, allocations: 0.7675 MB / 468.9 MB, free: 4.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2909, allocations: 12.03 kB / 468.9 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.291, allocations: 56.28 kB / 468.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.2916, allocations: 380.1 kB / 469.3 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.2916, allocations: 37.38 kB / 469.3 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.2917, allocations: 60.25 kB / 469.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.2926, allocations: 481.2 kB / 469.9 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2926, allocations: 192 / 469.9 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.2927, allocations: 23.92 kB / 469.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.2927, allocations: 16 kB / 469.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.2934, allocations: 335.8 kB / 470.2 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.2958, allocations: 1.702 MB / 471.9 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.2965, allocations: 337.4 kB / 472.3 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/0.297, allocations: 212.6 kB / 472.5 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.297, allocations: 7.859 kB / 472.5 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004434/0.2974, allocations: 259.7 kB / 472.7 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 1.953e-06/0.2975, allocations: 0 / 472.7 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.001327/0.2988, allocations: 0.5975 MB / 473.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.2989, allocations: 114.8 kB / 473.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.2993, allocations: 377.6 kB / 473.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.2994, allocations: 33.7 kB / 473.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.2995, allocations: 240.2 kB / 474.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.889e-05/0.2996, allocations: 118.3 kB / 474.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.2996, allocations: 4 kB / 474.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2998, allocations: 366.7 kB / 474.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.3001, allocations: 125.1 kB / 474.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.3004, allocations: 256.1 kB / 474.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.301, allocations: 378.5 kB / 475.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.301, allocations: 0 / 475.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008914/0.3019, allocations: 0.5071 MB / 475.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.302, allocations: 226.6 kB / 476 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3021, allocations: 4 kB / 476 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.3023, allocations: 80.78 kB / 476.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.3026, allocations: 75.89 kB / 476.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.3041, allocations: 1.69 MB / 477.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.3045, allocations: 71.64 kB / 477.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.3046, allocations: 20 kB / 478 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.3046, allocations: 4 kB / 478 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000762/0.3053, allocations: 433.8 kB / 478.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3054, allocations: 8 kB / 478.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.3056, allocations: 64.81 kB / 478.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.3058, allocations: 80.28 kB / 478.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.3073, allocations: 1.694 MB / 480.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.3076, allocations: 51.67 kB / 480.3 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.3077, allocations: 23.98 kB / 480.3 MB, free: 8.484 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,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 () * Number of clocked 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.000271/0.3079, allocations: 259.3 kB / 480.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.308, allocations: 43.44 kB / 480.6 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.979e-05/0.3081, allocations: 48.14 kB / 480.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3081, allocations: 7.938 kB / 480.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3081, allocations: 0 / 480.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3081, allocations: 3.984 kB / 480.7 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.3095, allocations: 0.9483 MB / 481.6 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3095, allocations: 0 / 481.6 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.3098, allocations: 47.91 kB / 481.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/0.31, allocations: 64.83 kB / 481.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.31, allocations: 11.98 kB / 481.7 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.3115, allocations: 1.702 MB / 483.4 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3115, allocations: 0 / 483.4 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009309/0.3124, allocations: 0.6108 MB / 484 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.3126, allocations: 144.6 kB / 484.2 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.3127, allocations: 20 kB / 484.2 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.313, allocations: 35.91 kB / 484.2 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3131, allocations: 39.94 kB / 484.3 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.3131, allocations: 12 kB / 484.3 MB, free: 4.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003222/0.3134, allocations: 267.2 kB / 484.5 MB, free: 3.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3134, allocations: 0 / 484.5 MB, free: 3.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007995/0.3142, allocations: 227.4 kB / 484.8 MB, free: 3.762 MB / 362.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) * Number of clocked states: 0 () * 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.0001551/0.3144, allocations: 123 kB / 484.9 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.3158, allocations: 0.9117 MB / 485.8 MB, free: 2.672 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3158, allocations: 0 / 485.8 MB, free: 2.672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.3162, allocations: 298.4 kB / 486.1 MB, free: 2.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.3167, allocations: 77.72 kB / 486.2 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.3185, allocations: 1.129 MB / 487.3 MB, free: 1.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.3189, allocations: 0.8281 MB / 488.1 MB, free: 284 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.3191, allocations: 55.28 kB / 488.2 MB, free: 228 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.3192, allocations: 35.42 kB / 488.2 MB, free: 192 kB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3192, allocations: 0 / 488.2 MB, free: 192 kB / 362.7 MB Notification: Performance of Templates: time 0.01106/0.3302, allocations: 6.217 MB / 494.4 MB, free: 9.992 MB / 378.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/jenkins1/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