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.001504/0.001504, allocations: 185 kB / 16.41 MB, free: 5.727 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.934/1.934, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001107/0.001106, allocations: 96.67 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003784, allocations: 12 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.4622, allocations: 83.21 MB / 457.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/0.4626, allocations: 83.95 kB / 457.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03493/0.4976, allocations: 7.653 MB / 465.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4976, allocations: 0 / 465.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.06e-05/0.4977, allocations: 12 kB / 465.5 MB, free: 5.77 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.002047/0.4997, allocations: 0.7713 MB / 466.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.4998, allocations: 12.03 kB / 466.3 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.5, allocations: 59.34 kB / 466.4 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/0.5008, allocations: 378.9 kB / 466.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.5009, allocations: 37 kB / 466.8 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.501, allocations: 48 kB / 466.8 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.5024, allocations: 476.7 kB / 467.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.5024, allocations: 0 / 467.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.5025, allocations: 23.94 kB / 467.3 MB, free: 3.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.5025, allocations: 12 kB / 467.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.5037, allocations: 335.8 kB / 467.6 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003917/0.5077, allocations: 1.714 MB / 469.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.5089, allocations: 333.4 kB / 469.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.509, allocations: 4 kB / 469.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006789/0.5097, allocations: 255.8 kB / 469.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 3.657e-06/0.5097, allocations: 0 / 469.9 MB, free: 1.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.002305/0.512, allocations: 0.5974 MB / 470.5 MB, free: 500 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/0.5121, allocations: 110.8 kB / 470.6 MB, free: 364 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.5128, allocations: 344.8 kB / 471 MB, free: 8 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.5129, allocations: 37.7 kB / 471 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.5132, allocations: 278.7 kB / 471.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.5133, allocations: 118.3 kB / 471.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.5134, allocations: 8 kB / 471.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5135, allocations: 330.8 kB / 471.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.514, allocations: 133.1 kB / 471.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.5146, allocations: 252.7 kB / 472.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.5152, allocations: 181.8 kB / 472.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.5152, allocations: 0 / 472.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001539/0.5168, allocations: 499.5 kB / 472.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005898/0.5174, allocations: 1.34 MB / 474.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.5174, allocations: 0 / 474.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.5179, allocations: 76.8 kB / 474.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000585/0.5185, allocations: 79.89 kB / 474.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.521, allocations: 1.714 MB / 476 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/0.5218, allocations: 71.72 kB / 476 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.5219, allocations: 16 kB / 476.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5219, allocations: 4 kB / 476.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.5232, allocations: 433.6 kB / 476.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5232, allocations: 4.25 kB / 476.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003494/0.5236, allocations: 69.27 kB / 476.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.5241, allocations: 87.83 kB / 476.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.5265, allocations: 1.698 MB / 478.3 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.527, allocations: 47.73 kB / 478.4 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.5271, allocations: 23.98 kB / 478.4 MB, free: 8.082 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.0004825/0.5276, allocations: 261.7 kB / 478.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.5277, allocations: 39.53 kB / 478.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.5279, allocations: 44.14 kB / 478.7 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5279, allocations: 4 kB / 478.8 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5279, allocations: 3.953 kB / 478.8 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.5279, allocations: 3.984 kB / 478.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.5301, allocations: 0.9412 MB / 479.7 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.5301, allocations: 7.922 kB / 479.7 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.5306, allocations: 47.97 kB / 479.8 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003403/0.5309, allocations: 68.75 kB / 479.8 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.531, allocations: 15.94 kB / 479.8 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.5333, allocations: 1.71 MB / 481.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5333, allocations: 0 / 481.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.535, allocations: 0.6052 MB / 482.2 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.5352, allocations: 148.6 kB / 482.3 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/0.5354, allocations: 11.98 kB / 482.3 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.5359, allocations: 31.98 kB / 482.3 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.5361, allocations: 43.88 kB / 482.4 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.5361, allocations: 12 kB / 482.4 MB, free: 3.848 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005104/0.5366, allocations: 263.2 kB / 482.7 MB, free: 3.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5367, allocations: 0 / 482.7 MB, free: 3.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001175/0.5378, allocations: 223.4 kB / 482.9 MB, free: 3.379 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0002206/0.5381, allocations: 119.2 kB / 483 MB, free: 3.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.5404, allocations: 0.9119 MB / 483.9 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.5405, allocations: 0 / 483.9 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007291/0.5412, allocations: 302.7 kB / 484.2 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.5419, allocations: 75.94 kB / 484.3 MB, free: 1.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.5447, allocations: 1.147 MB / 485.4 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.5454, allocations: 0.8399 MB / 486.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.5456, allocations: 39.36 kB / 486.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5456, allocations: 0 / 486.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01566/0.5613, allocations: 7.152 MB / 493.4 MB, free: 8.688 MB / 378.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