Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001367/0.001367, allocations: 181 kB / 17.02 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.628/1.628, allocations: 205.4 MB / 223.1 MB, free: 9.105 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.000927/0.000927, allocations: 94.66 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002635/0.0002635, allocations: 8 kB / 328.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2426, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.106/0.3486, allocations: 83.65 MB / 459.5 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.3489, allocations: 87.94 kB / 459.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01947/0.3684, allocations: 7.338 MB / 466.9 MB, free: 5.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3684, allocations: 0 / 466.9 MB, free: 5.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.775e-05/0.3685, allocations: 12 kB / 466.9 MB, free: 5.531 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.001491/0.37, allocations: 0.74 MB / 467.7 MB, free: 4.734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.37, allocations: 15.97 kB / 467.7 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3702, allocations: 55.34 kB / 467.7 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.3708, allocations: 386.9 kB / 468.1 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.3709, allocations: 29 kB / 468.1 MB, free: 4.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.595e-05/0.371, allocations: 47.98 kB / 468.2 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008824/0.3719, allocations: 456.7 kB / 468.6 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.3719, allocations: 11.98 kB / 468.6 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.372, allocations: 16 kB / 468.6 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.372, allocations: 11.94 kB / 468.7 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.3727, allocations: 323.8 kB / 469 MB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.3752, allocations: 1.694 MB / 470.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.376, allocations: 301.2 kB / 471 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.376, allocations: 8 kB / 471 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.3765, allocations: 238.2 kB / 471.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.284e-06/0.3765, allocations: 0 / 471.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001323/0.3778, allocations: 0.5661 MB / 471.8 MB, free: 412 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.3779, allocations: 114.7 kB / 471.9 MB, free: 272 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.3783, allocations: 344.7 kB / 472.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.3784, allocations: 33.7 kB / 472.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3786, allocations: 224.4 kB / 472.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.3787, allocations: 118.5 kB / 472.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/0.3787, allocations: 4 kB / 472.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3789, allocations: 354.8 kB / 472.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.3792, allocations: 124.8 kB / 473.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.3795, allocations: 242.8 kB / 473.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.3799, allocations: 166.8 kB / 473.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3799, allocations: 4 kB / 473.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009471/0.3809, allocations: 0.4905 MB / 474 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007878/0.3817, allocations: 1.337 MB / 475.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.3817, allocations: 4 kB / 475.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.3821, allocations: 68.81 kB / 475.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.3824, allocations: 71.91 kB / 475.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.3844, allocations: 1.714 MB / 477.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.3848, allocations: 59.66 kB / 477.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.3848, allocations: 20 kB / 477.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3848, allocations: 7.953 kB / 477.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007741/0.3856, allocations: 418.4 kB / 477.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3856, allocations: 4.438 kB / 477.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.3859, allocations: 72.77 kB / 477.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.3861, allocations: 63.91 kB / 477.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.3878, allocations: 1.71 MB / 479.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.3881, allocations: 59.59 kB / 479.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.3882, allocations: 16.31 kB / 479.6 MB, free: 8.094 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,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 (44): * Single equations (assignments): 42 * 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.0002939/0.3885, allocations: 259.8 kB / 479.8 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.3885, allocations: 43.52 kB / 479.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.901e-05/0.3886, allocations: 44.14 kB / 479.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3887, allocations: 4 kB / 479.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3887, allocations: 3.984 kB / 479.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3887, allocations: 0 / 479.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.39, allocations: 0.8972 MB / 480.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.39, allocations: 0 / 480.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.3902, allocations: 39.91 kB / 480.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/0.3904, allocations: 64.81 kB / 480.9 MB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.3904, allocations: 11.98 kB / 480.9 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.392, allocations: 1.722 MB / 482.6 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.392, allocations: 0 / 482.6 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009158/0.393, allocations: 0.5705 MB / 483.2 MB, free: 4.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.3932, allocations: 148.6 kB / 483.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/0.3932, allocations: 11.95 kB / 483.4 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.3935, allocations: 32.03 kB / 483.4 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.3936, allocations: 35.95 kB / 483.4 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.3937, allocations: 15.98 kB / 483.5 MB, free: 3.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003432/0.394, allocations: 267.2 kB / 483.7 MB, free: 3.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.394, allocations: 4 kB / 483.7 MB, free: 3.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007967/0.3948, allocations: 203.5 kB / 483.9 MB, free: 3.492 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001976/0.3951, allocations: 123.6 kB / 484 MB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.3966, allocations: 0.8769 MB / 484.9 MB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.3967, allocations: 4.188 kB / 484.9 MB, free: 2.434 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.3971, allocations: 286.3 kB / 485.2 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.3975, allocations: 65.59 kB / 485.3 MB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3994, allocations: 1.017 MB / 486.3 MB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.3998, allocations: 0.8313 MB / 487.1 MB, free: 172 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.4, allocations: 43.27 kB / 487.2 MB, free: 132 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.818e-05/0.4001, allocations: 31.44 kB / 487.2 MB, free: 100 kB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4001, allocations: 0 / 487.2 MB, free: 100 kB / 362.7 MB Notification: Performance of Templates: time 0.01153/0.4117, allocations: 5.948 MB / 493.1 MB, free: 10.18 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat","/var/lib/jenkins/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_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches