Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002151/0.002151, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.2 MB / 219.4 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.00103/0.001029, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.189e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09518, allocations: 47.58 MB / 369.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4126/0.5078, allocations: 83.12 MB / 452.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.5082, allocations: 83.25 kB / 452.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03296/0.5412, allocations: 7.64 MB / 459.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5413, allocations: 0 / 459.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.168e-05/0.5413, allocations: 15.98 kB / 460 MB, free: 3.613 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.001767/0.5431, allocations: 0.7228 MB / 460.7 MB, free: 2.875 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5432, allocations: 8.031 kB / 460.7 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.5433, allocations: 59.25 kB / 460.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.5441, allocations: 371.9 kB / 461.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.5442, allocations: 36.31 kB / 461.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.5443, allocations: 59.53 kB / 461.2 MB, free: 2.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.5454, allocations: 445.2 kB / 461.6 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.5454, allocations: 3.984 kB / 461.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.5455, allocations: 19.12 kB / 461.7 MB, free: 2.059 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.5455, allocations: 12 kB / 461.7 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008098/0.5463, allocations: 291.1 kB / 462 MB, free: 1.863 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.55, allocations: 1.71 MB / 463.7 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.5511, allocations: 307.1 kB / 464 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/0.5517, allocations: 201.5 kB / 464.2 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.5518, allocations: 4.594 kB / 464.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/0.5524, allocations: 247.7 kB / 464.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 3.296e-06/0.5524, allocations: 0 / 464.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.001063/0.5535, allocations: 338.8 kB / 464.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.5536, allocations: 110.8 kB / 464.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.5542, allocations: 319.5 kB / 465.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.5543, allocations: 37.7 kB / 465.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.5545, allocations: 278.7 kB / 465.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.5547, allocations: 122.3 kB / 465.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.5547, allocations: 15.94 kB / 465.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5549, allocations: 330.8 kB / 465.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.5552, allocations: 101.1 kB / 466 MB, free: 13.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.5556, allocations: 236.1 kB / 466.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.556, allocations: 149.8 kB / 466.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.556, allocations: 4 kB / 466.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001082/0.5571, allocations: 439.4 kB / 466.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005572/0.5577, allocations: 1.343 MB / 468.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5577, allocations: 7.938 kB / 468.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.5582, allocations: 68.81 kB / 468.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.5588, allocations: 83.89 kB / 468.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.5611, allocations: 1.679 MB / 470 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.5618, allocations: 79.44 kB / 470.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.5618, allocations: 16 kB / 470.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5619, allocations: 7.938 kB / 470.1 MB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001036/0.5629, allocations: 413.6 kB / 470.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5629, allocations: 4 kB / 470.5 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.5633, allocations: 73.33 kB / 470.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.5638, allocations: 79.83 kB / 470.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.5659, allocations: 1.679 MB / 472.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.5664, allocations: 55.66 kB / 472.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-05/0.5665, allocations: 20 kB / 472.4 MB, free: 7.055 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.0002249/0.5667, allocations: 148 kB / 472.6 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.5669, allocations: 39.53 kB / 472.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.567, allocations: 44.27 kB / 472.7 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.5671, allocations: 4.125 kB / 472.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.5671, allocations: 11.94 kB / 472.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5671, allocations: 0 / 472.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.569, allocations: 0.9174 MB / 473.6 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5691, allocations: 0 / 473.6 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.5695, allocations: 47.91 kB / 473.6 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003263/0.5699, allocations: 68.78 kB / 473.7 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.5699, allocations: 11.98 kB / 473.7 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.5721, allocations: 1.675 MB / 475.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5721, allocations: 4.062 kB / 475.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.5735, allocations: 0.5882 MB / 476 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.5737, allocations: 148.5 kB / 476.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.056e-05/0.5738, allocations: 12 kB / 476.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/0.5744, allocations: 35.97 kB / 476.2 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.5745, allocations: 43.88 kB / 476.2 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.5746, allocations: 12 kB / 476.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004228/0.575, allocations: 246.2 kB / 476.5 MB, free: 2.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.575, allocations: 0 / 476.5 MB, free: 2.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001137/0.5762, allocations: 219.4 kB / 476.7 MB, free: 2.555 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.0002278/0.5764, allocations: 142.8 kB / 476.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.5783, allocations: 0.8599 MB / 477.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5783, allocations: 0 / 477.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.5789, allocations: 290.5 kB / 478 MB, free: 1.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.5796, allocations: 68.19 kB / 478 MB, free: 1.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.582, allocations: 0.7147 MB / 478.7 MB, free: 396 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.5826, allocations: 0.8398 MB / 479.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.5828, allocations: 31.44 kB / 479.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.393e-06/0.5828, allocations: 0 / 479.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Templates: time 0.01729/0.6001, allocations: 7.153 MB / 486.8 MB, free: 8.328 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches