Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.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.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001668/0.001667, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.902/2.902, allocations: 205.4 MB / 223.6 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.001078/0.001078, allocations: 89.42 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.000464, allocations: 8 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.4824, allocations: 47.56 MB / 375.7 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.6449, allocations: 83.73 MB / 459.5 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/0.6453, allocations: 99.88 kB / 459.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03308/0.6784, allocations: 7.346 MB / 466.9 MB, free: 5.438 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.087e-06/0.6785, allocations: 0 / 466.9 MB, free: 5.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.839e-05/0.6786, allocations: 12 kB / 466.9 MB, free: 5.426 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002349/0.681, allocations: 0.7316 MB / 467.6 MB, free: 4.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/0.681, allocations: 15.97 kB / 467.7 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.6813, allocations: 60.27 kB / 467.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009569/0.6822, allocations: 380.1 kB / 468.1 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.6823, allocations: 33.38 kB / 468.1 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.6825, allocations: 52.28 kB / 468.2 MB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.6839, allocations: 457.3 kB / 468.6 MB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.684, allocations: 4.125 kB / 468.6 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/0.6841, allocations: 19.94 kB / 468.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.6841, allocations: 16 kB / 468.7 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.6853, allocations: 323.8 kB / 469 MB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004584/0.6899, allocations: 1.69 MB / 470.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.6912, allocations: 301.3 kB / 471 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/0.6919, allocations: 168.7 kB / 471.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.692, allocations: 4 kB / 471.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008345/0.6929, allocations: 251 kB / 471.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 5.26e-06/0.6929, allocations: 0 / 471.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002629/0.6955, allocations: 0.5779 MB / 472 MB, free: 120 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.6957, allocations: 144.4 kB / 472.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008452/0.6966, allocations: 377.5 kB / 472.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.277e-05/0.6967, allocations: 37.7 kB / 472.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.697, allocations: 232.4 kB / 472.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.6971, allocations: 106.5 kB / 472.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.6972, allocations: 11.94 kB / 472.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.6974, allocations: 354.7 kB / 473.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.6979, allocations: 124.8 kB / 473.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/0.6986, allocations: 247.8 kB / 473.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.6996, allocations: 372.1 kB / 473.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.6997, allocations: 3.938 kB / 473.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001837/0.7015, allocations: 491.7 kB / 474.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.7018, allocations: 219.7 kB / 474.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.7018, allocations: 4 kB / 474.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/0.7024, allocations: 80.69 kB / 474.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.7029, allocations: 71.89 kB / 474.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.7063, allocations: 1.76 MB / 476.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007484/0.7071, allocations: 67.66 kB / 476.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.7072, allocations: 12 kB / 476.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.7072, allocations: 8 kB / 476.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001286/0.7085, allocations: 418.8 kB / 477 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7085, allocations: 4 kB / 477 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.7089, allocations: 76.81 kB / 477.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.7093, allocations: 63.84 kB / 477.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/0.7122, allocations: 1.765 MB / 478.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.7128, allocations: 55.73 kB / 479 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.7129, allocations: 20 kB / 479 MB, free: 8.527 MB / 362.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,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.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 (43): * Single equations (assignments): 41 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005141/0.7134, allocations: 259.2 kB / 479.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.7135, allocations: 39.53 kB / 479.3 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.7137, allocations: 44.08 kB / 479.3 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.7137, allocations: 7.938 kB / 479.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7137, allocations: 0 / 479.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.7138, allocations: 11.98 kB / 479.4 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.7161, allocations: 0.9997 MB / 480.4 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7162, allocations: 0 / 480.4 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.7165, allocations: 35.92 kB / 480.4 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003123/0.7168, allocations: 72.84 kB / 480.5 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.7169, allocations: 4 kB / 480.5 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.7193, allocations: 1.698 MB / 482.2 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7194, allocations: 4 kB / 482.2 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.721, allocations: 0.5752 MB / 482.7 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.7213, allocations: 144.6 kB / 482.9 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.7215, allocations: 12 kB / 482.9 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004644/0.7219, allocations: 31.91 kB / 482.9 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.7221, allocations: 43.89 kB / 483 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.7222, allocations: 11.98 kB / 483 MB, free: 4.285 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006/0.7228, allocations: 267.2 kB / 483.2 MB, free: 4.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7229, allocations: 0 / 483.2 MB, free: 4.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001522/0.7244, allocations: 211.5 kB / 483.5 MB, free: 3.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.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 (29): * Single equations (assignments): 22 * 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.0002808/0.7247, allocations: 123.4 kB / 483.6 MB, free: 3.691 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002422/0.7271, allocations: 0.8878 MB / 484.5 MB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7272, allocations: 192 / 484.5 MB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.7279, allocations: 291.6 kB / 484.7 MB, free: 2.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.7289, allocations: 69.47 kB / 484.8 MB, free: 2.391 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.7316, allocations: 1.038 MB / 485.9 MB, free: 1.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/0.7324, allocations: 0.8235 MB / 486.7 MB, free: 492 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.7325, allocations: 35.36 kB / 486.7 MB, free: 456 kB / 362.7 MB Notification: Performance of SimCode: time 1.893e-06/0.7326, allocations: 0 / 486.7 MB, free: 456 kB / 362.7 MB Notification: Performance of Templates: time 0.03261/0.7652, allocations: 7.074 MB / 493.8 MB, free: 9.387 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_RL/ChopperStepDown_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches