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.00248/0.002486, allocations: 182.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.56/3.56, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.00178/0.00178, allocations: 104.3 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006177/0.000618, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.514, allocations: 47.58 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.007392/0.5215, allocations: 3.06 MB / 377.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.5251, allocations: 0.9726 MB / 378.6 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007812/0.526, allocations: 11.06 kB / 378.6 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004071/0.5264, allocations: 48.67 kB / 378.6 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.5275, allocations: 154 kB / 378.8 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.5286, allocations: 142 kB / 378.9 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.5302, allocations: 406.9 kB / 379.3 MB, free: 41.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007486/0.531, allocations: 185.1 kB / 379.5 MB, free: 41.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006365/0.5316, allocations: 177.5 kB / 379.7 MB, free: 41.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.5322, allocations: 204.9 kB / 379.9 MB, free: 41.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.5324, allocations: 23 kB / 379.9 MB, free: 41.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.5326, allocations: 24.56 kB / 379.9 MB, free: 41.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.5328, allocations: 83.41 kB / 380 MB, free: 41.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.533, allocations: 124.4 kB / 380.1 MB, free: 41.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00096/0.534, allocations: 484.2 kB / 380.6 MB, free: 40.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5341, allocations: 0 / 380.6 MB, free: 40.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.5341, allocations: 0 / 380.6 MB, free: 40.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.5341, allocations: 0 / 380.6 MB, free: 40.85 MB / 298.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.002993/0.5371, allocations: 0.765 MB / 381.4 MB, free: 40.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.5372, allocations: 8.094 kB / 381.4 MB, free: 40.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.5376, allocations: 57.44 kB / 381.4 MB, free: 40.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.5389, allocations: 387.3 kB / 381.8 MB, free: 39.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.5391, allocations: 40.72 kB / 381.8 MB, free: 39.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.5393, allocations: 46.2 kB / 381.9 MB, free: 39.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.5414, allocations: 471.1 kB / 382.4 MB, free: 39.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.101e-05/0.5415, allocations: 5.062 kB / 382.4 MB, free: 39.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.5417, allocations: 20.5 kB / 382.4 MB, free: 39.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.5417, allocations: 10.69 kB / 382.4 MB, free: 39.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.5435, allocations: 335.3 kB / 382.7 MB, free: 39.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005842/0.5494, allocations: 1.705 MB / 384.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.5513, allocations: 340.8 kB / 384.8 MB, free: 37.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.196e-05/0.5516, allocations: 16.17 kB / 384.8 MB, free: 37.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.5528, allocations: 261.4 kB / 385 MB, free: 37.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 5.64e-06/0.5528, allocations: 0 / 385 MB, free: 37.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.003766/0.5566, allocations: 0.651 MB / 385.7 MB, free: 37.17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.5568, allocations: 117.1 kB / 385.8 MB, free: 37.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009105/0.5577, allocations: 351.5 kB / 386.1 MB, free: 36.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.5579, allocations: 41.47 kB / 386.2 MB, free: 36.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.5582, allocations: 279.7 kB / 386.4 MB, free: 36.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.5584, allocations: 121.9 kB / 386.6 MB, free: 36.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.5585, allocations: 10.34 kB / 386.6 MB, free: 36.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5586, allocations: 331.2 kB / 386.9 MB, free: 36.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007057/0.5593, allocations: 123.8 kB / 387 MB, free: 36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008003/0.5602, allocations: 267 kB / 387.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000723/0.5609, allocations: 170 kB / 387.4 MB, free: 35.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.561, allocations: 4 kB / 387.5 MB, free: 35.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001928/0.5629, allocations: 500 kB / 387.9 MB, free: 35.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005126/0.5635, allocations: 1.427 MB / 389.4 MB, free: 33.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.5635, allocations: 4 kB / 389.4 MB, free: 33.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.5642, allocations: 72.81 kB / 389.4 MB, free: 33.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.565, allocations: 79.83 kB / 389.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.5683, allocations: 1.714 MB / 391.2 MB, free: 31.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/0.5693, allocations: 59.73 kB / 391.3 MB, free: 31.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/0.5694, allocations: 19.98 kB / 391.3 MB, free: 31.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5695, allocations: 4 kB / 391.3 MB, free: 31.41 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001618/0.5711, allocations: 441.3 kB / 391.7 MB, free: 30.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.5712, allocations: 7.938 kB / 391.8 MB, free: 30.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/0.5717, allocations: 64.83 kB / 391.8 MB, free: 30.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.5724, allocations: 80.3 kB / 391.9 MB, free: 30.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.5755, allocations: 1.702 MB / 393.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/0.5762, allocations: 43.69 kB / 393.6 MB, free: 28.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.5763, allocations: 20 kB / 393.7 MB, free: 28.92 MB / 298.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,chopperStepUp.andCondition_p.y,chopperStepUp.transistor.off,chopperStepUp.diode.off,signalPWM.notFire,$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 (49): * Single equations (assignments): 47 * 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.0006291/0.577, allocations: 263.7 kB / 393.9 MB, free: 28.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.5772, allocations: 43.52 kB / 394 MB, free: 28.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.5774, allocations: 48.2 kB / 394 MB, free: 28.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.5774, allocations: 7.938 kB / 394 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.5774, allocations: 0 / 394 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.5775, allocations: 7.953 kB / 394 MB, free: 28.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.5808, allocations: 0.9733 MB / 395 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.5809, allocations: 0 / 395 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/0.5817, allocations: 60.14 kB / 395.1 MB, free: 27.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005139/0.5822, allocations: 72.84 kB / 395.1 MB, free: 27.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.55e-05/0.5823, allocations: 15.98 kB / 395.1 MB, free: 27.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/0.5857, allocations: 1.698 MB / 396.8 MB, free: 25.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5857, allocations: 4.109 kB / 396.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.5883, allocations: 0.6623 MB / 397.5 MB, free: 24.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.5888, allocations: 148.5 kB / 397.7 MB, free: 24.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.589, allocations: 12 kB / 397.7 MB, free: 24.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009427/0.5899, allocations: 31.97 kB / 397.7 MB, free: 24.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.5902, allocations: 32.05 kB / 397.7 MB, free: 24.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/0.5903, allocations: 19.97 kB / 397.7 MB, free: 24.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005948/0.5909, allocations: 243.2 kB / 398 MB, free: 24.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.591, allocations: 4 kB / 398 MB, free: 24.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002156/0.5931, allocations: 215.4 kB / 398.2 MB, free: 24.12 MB / 298.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.transistor.off,chopperStepUp.diode.off,signalPWM.notFire,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 (33): * Single equations (assignments): 26 * 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.0002732/0.5935, allocations: 123.2 kB / 398.3 MB, free: 24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003242/0.5967, allocations: 0.9119 MB / 399.2 MB, free: 23.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/0.5968, allocations: 4.125 kB / 399.2 MB, free: 23.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.5979, allocations: 314.4 kB / 399.5 MB, free: 22.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.599, allocations: 74.53 kB / 399.6 MB, free: 22.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/0.603, allocations: 1.184 MB / 400.8 MB, free: 21.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.6036, allocations: 0.8393 MB / 401.6 MB, free: 20.56 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.6039, allocations: 35.44 kB / 401.7 MB, free: 20.53 MB / 298.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6039, allocations: 0 / 401.7 MB, free: 20.53 MB / 298.7 MB Notification: Performance of Templates: time 0.0231/0.627, allocations: 7.128 MB / 408.8 MB, free: 13.41 MB / 298.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