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.002392/0.002392, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.606/1.606, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.0009055/0.0009053, allocations: 98.59 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002703, allocations: 4 kB / 328.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2471, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3504, allocations: 83.21 MB / 459 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.3508, allocations: 95.88 kB / 459.1 MB, free: 13.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02159/0.3724, allocations: 7.651 MB / 466.8 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3725, allocations: 0 / 466.8 MB, free: 5.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.221e-05/0.3725, allocations: 12 kB / 466.8 MB, free: 5.672 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.001321/0.3739, allocations: 0.7752 MB / 467.6 MB, free: 4.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3739, allocations: 8.031 kB / 467.6 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.374, allocations: 59.33 kB / 467.6 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.3746, allocations: 374.9 kB / 468 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.3746, allocations: 33 kB / 468 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.3747, allocations: 48 kB / 468.1 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/0.3755, allocations: 480.7 kB / 468.5 MB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.3756, allocations: 3.938 kB / 468.5 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.3756, allocations: 20 kB / 468.6 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3756, allocations: 8 kB / 468.6 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006726/0.3763, allocations: 343.8 kB / 468.9 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.3787, allocations: 1.71 MB / 470.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.3795, allocations: 341.2 kB / 471 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.3795, allocations: 4 kB / 471 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.38, allocations: 259.8 kB / 471.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 2.214e-06/0.38, allocations: 0 / 471.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.001332/0.3813, allocations: 0.5896 MB / 471.8 MB, free: 404 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.3814, allocations: 114.8 kB / 471.9 MB, free: 264 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.3818, allocations: 332.8 kB / 472.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.3819, allocations: 37.7 kB / 472.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.3821, allocations: 240.3 kB / 472.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.3822, allocations: 122.3 kB / 472.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.3822, allocations: 8 kB / 472.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3824, allocations: 354.8 kB / 473 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.3827, allocations: 129.1 kB / 473.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.3831, allocations: 256.7 kB / 473.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.3834, allocations: 177.8 kB / 473.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3834, allocations: 0 / 473.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008831/0.3843, allocations: 0.5066 MB / 474 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006652/0.385, allocations: 1.345 MB / 475.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.385, allocations: 8 kB / 475.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002857/0.3853, allocations: 68.83 kB / 475.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.3856, allocations: 75.89 kB / 475.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.3874, allocations: 1.718 MB / 477.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.3878, allocations: 71.62 kB / 477.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.3878, allocations: 16.25 kB / 477.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3878, allocations: 4 kB / 477.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007325/0.3886, allocations: 441.8 kB / 477.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3886, allocations: 4 kB / 477.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.3888, allocations: 68.81 kB / 477.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3891, allocations: 75.84 kB / 477.9 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.3907, allocations: 1.714 MB / 479.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.391, allocations: 51.67 kB / 479.7 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.391, allocations: 23.98 kB / 479.7 MB, free: 7.969 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.0003206/0.3914, allocations: 251.8 kB / 479.9 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.3914, allocations: 39.53 kB / 480 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.899e-05/0.3915, allocations: 52.2 kB / 480 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3916, allocations: 4 kB / 480 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3916, allocations: 7.938 kB / 480.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3916, allocations: 3.984 kB / 480.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.393, allocations: 0.9335 MB / 481 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.393, allocations: 7.875 kB / 481 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.3932, allocations: 51.97 kB / 481 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.3934, allocations: 64.77 kB / 481.1 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.3935, allocations: 15.94 kB / 481.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.3951, allocations: 1.703 MB / 482.8 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3951, allocations: 0 / 482.8 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009873/0.3961, allocations: 0.609 MB / 483.4 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/0.3963, allocations: 148.6 kB / 483.6 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.3964, allocations: 11.98 kB / 483.6 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.3967, allocations: 31.98 kB / 483.6 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3968, allocations: 43.88 kB / 483.7 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.3968, allocations: 15.98 kB / 483.7 MB, free: 3.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003372/0.3972, allocations: 259.2 kB / 483.9 MB, free: 3.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3972, allocations: 0 / 483.9 MB, free: 3.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008802/0.3981, allocations: 227.4 kB / 484.2 MB, free: 3.266 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.0002706/0.3983, allocations: 123.2 kB / 484.3 MB, free: 3.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3999, allocations: 0.9075 MB / 485.2 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4, allocations: 0 / 485.2 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.4004, allocations: 303.3 kB / 485.5 MB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.401, allocations: 81.48 kB / 485.6 MB, free: 1.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.403, allocations: 1.119 MB / 486.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.4035, allocations: 0.8359 MB / 487.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.4037, allocations: 55.28 kB / 487.6 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.4038, allocations: 27.44 kB / 487.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4038, allocations: 0 / 487.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of Templates: time 0.01115/0.415, allocations: 6.128 MB / 493.7 MB, free: 9.602 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/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