Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 175.3 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009963/0.0009962, allocations: 95.55 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.682e-05, allocations: 4 kB / 343.8 MB, free: 4.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 50.42 MB / 394.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/0.3871, allocations: 85.98 MB / 480.2 MB, free: 1.527 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.3873, allocations: 91.77 kB / 480.3 MB, free: 1.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02755/0.4149, allocations: 10.11 MB / 490.4 MB, free: 7.277 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4149, allocations: 4 kB / 490.4 MB, free: 7.273 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.862e-05/0.4149, allocations: 12 kB / 490.5 MB, free: 7.262 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00129/0.4162, allocations: 0.7757 MB / 491.2 MB, free: 6.434 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4163, allocations: 11.97 kB / 491.2 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.4164, allocations: 63.25 kB / 491.3 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.417, allocations: 412.3 kB / 491.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.417, allocations: 41 kB / 491.7 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/0.4171, allocations: 51.91 kB / 491.8 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.4179, allocations: 488.8 kB / 492.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.418, allocations: 0 / 492.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/0.418, allocations: 23.98 kB / 492.3 MB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.418, allocations: 19.98 kB / 492.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.4186, allocations: 315.9 kB / 492.6 MB, free: 4.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.4212, allocations: 1.873 MB / 494.5 MB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008457/0.4221, allocations: 372.6 kB / 494.9 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.4225, allocations: 218.4 kB / 495.1 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.4225, allocations: 4.328 kB / 495.1 MB, free: 2.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/0.423, allocations: 265.2 kB / 495.3 MB, free: 2.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 1.694e-06/0.423, allocations: 0 / 495.3 MB, free: 2.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006766/0.4237, allocations: 373.8 kB / 495.7 MB, free: 1.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.4238, allocations: 106.8 kB / 495.8 MB, free: 1.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.4241, allocations: 338.8 kB / 496.1 MB, free: 1.285 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.4242, allocations: 33.7 kB / 496.2 MB, free: 1.246 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.4244, allocations: 261 kB / 496.4 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.4245, allocations: 142 kB / 496.6 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.4245, allocations: 8 kB / 496.6 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4246, allocations: 354.8 kB / 496.9 MB, free: 492 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.4249, allocations: 117.1 kB / 497 MB, free: 376 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.4252, allocations: 244.5 kB / 497.3 MB, free: 80 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.4254, allocations: 163.2 kB / 497.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4254, allocations: 0 / 497.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007871/0.4262, allocations: 0.4991 MB / 497.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004784/0.4267, allocations: 1.333 MB / 499.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4267, allocations: 4 kB / 499.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/0.427, allocations: 76.77 kB / 499.3 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.4274, allocations: 103.8 kB / 499.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.429, allocations: 1.686 MB / 0.4894 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.4294, allocations: 63.66 kB / 0.4894 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.4294, allocations: 20.06 kB / 0.4895 GB, free: 11.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.4295, allocations: 9.5 kB / 0.4895 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006982/0.4302, allocations: 442 kB / 0.4899 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4302, allocations: 0 / 0.4899 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.4304, allocations: 81.3 kB / 0.49 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.4307, allocations: 87.89 kB / 0.4901 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.4322, allocations: 1.694 MB / 0.4917 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.4325, allocations: 59.61 kB / 0.4918 GB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.4326, allocations: 24.05 kB / 0.4918 GB, free: 9.344 MB / 378.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_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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.0001498/0.4327, allocations: 140.1 kB / 0.4919 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.4328, allocations: 51.39 kB / 0.492 GB, free: 9.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007465/0.4336, allocations: 422.1 kB / 0.4924 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.4336, allocations: 4 kB / 0.4924 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.4336, allocations: 0 / 0.4924 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.4336, allocations: 7.984 kB / 0.4924 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.4351, allocations: 1.028 MB / 0.4934 GB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4351, allocations: 4.062 kB / 0.4934 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.4355, allocations: 76.02 kB / 0.4935 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.4357, allocations: 72.75 kB / 0.4935 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.4357, allocations: 8 kB / 0.4935 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.4372, allocations: 1.687 MB / 0.4952 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4372, allocations: 7.984 kB / 0.4952 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009731/0.4382, allocations: 0.6699 MB / 0.4959 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.4384, allocations: 156.5 kB / 0.496 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.4385, allocations: 19.94 kB / 0.496 GB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.4388, allocations: 39.97 kB / 0.4961 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.439, allocations: 51.86 kB / 0.4961 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.439, allocations: 19.98 kB / 0.4961 GB, free: 4.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002832/0.4393, allocations: 253.2 kB / 0.4964 GB, free: 4.375 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4393, allocations: 0 / 0.4964 GB, free: 4.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008217/0.4401, allocations: 247.4 kB / 0.4966 GB, free: 4.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v,loadInductor.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_last,meanVoltage.y_last) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * 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.0001845/0.4403, allocations: 140.9 kB / 0.4967 GB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.4416, allocations: 0.9176 MB / 0.4976 GB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4416, allocations: 0 / 0.4976 GB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.4421, allocations: 314.3 kB / 0.4979 GB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.4425, allocations: 80.27 kB / 0.498 GB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.444, allocations: 0.8246 MB / 0.4988 GB, free: 1.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.4444, allocations: 0.8681 MB / 0.4997 GB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002971/0.4447, allocations: 76.2 kB / 0.4997 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.4448, allocations: 31.44 kB / 0.4998 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4448, allocations: 0 / 0.4998 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of Templates: time 0.01231/0.4571, allocations: 7.211 MB / 0.5068 GB, free: 9.664 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_RL/ChopperStepDown_RL.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches