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.001652/0.001652, allocations: 176.8 kB / 17.4 MB, free: 4.281 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.305/1.305, allocations: 223.3 MB / 241.4 MB, free: 9.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00073/0.0007299, allocations: 101.6 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 15.94 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1919, allocations: 50.4 MB / 402.8 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09321/0.2852, allocations: 86.12 MB / 488.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.2855, allocations: 99.88 kB / 489 MB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02687/0.3123, allocations: 10.12 MB / 499.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3124, allocations: 0 / 499.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.701e-05/0.3124, allocations: 15.94 kB / 499.1 MB, free: 15.89 MB / 378.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.001522/0.314, allocations: 0.8262 MB / 499.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.314, allocations: 16.03 kB / 500 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.3142, allocations: 68.12 kB / 0.4883 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.3148, allocations: 412.5 kB / 0.4887 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.3149, allocations: 41.36 kB / 0.4887 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/0.315, allocations: 52.38 kB / 0.4888 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.3161, allocations: 0.5324 MB / 0.4893 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.3161, allocations: 192 / 0.4893 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.3162, allocations: 23.94 kB / 0.4893 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.3162, allocations: 12 kB / 0.4893 GB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3173, allocations: 407.7 kB / 0.4897 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.3204, allocations: 1.869 MB / 0.4916 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.3215, allocations: 442.7 kB / 0.492 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006016/0.3221, allocations: 266.2 kB / 0.4922 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.3222, allocations: 8.266 kB / 0.4922 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006311/0.3228, allocations: 301.2 kB / 0.4925 GB, free: 10.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 4.068e-06/0.3228, allocations: 3.984 kB / 0.4925 GB, free: 10.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001845/0.3247, allocations: 0.7369 MB / 0.4933 GB, free: 9.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.3248, allocations: 110.8 kB / 0.4934 GB, free: 9.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.3252, allocations: 377.6 kB / 0.4937 GB, free: 9.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.3252, allocations: 37.7 kB / 0.4938 GB, free: 9.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3254, allocations: 260.8 kB / 0.494 GB, free: 8.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3255, allocations: 138.1 kB / 0.4941 GB, free: 8.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.3256, allocations: 12 kB / 0.4941 GB, free: 8.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3257, allocations: 350.8 kB / 0.4945 GB, free: 8.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.3262, allocations: 157 kB / 0.4946 GB, free: 8.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.3269, allocations: 288.5 kB / 0.4949 GB, free: 7.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008/0.3277, allocations: 457 kB / 0.4953 GB, free: 7.352 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3277, allocations: 0 / 0.4953 GB, free: 7.352 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001112/0.3288, allocations: 0.5737 MB / 0.4959 GB, free: 6.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.329, allocations: 214.7 kB / 0.4961 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.329, allocations: 4 kB / 0.4961 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.3293, allocations: 72.81 kB / 0.4962 GB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.3296, allocations: 95.83 kB / 0.4963 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.3314, allocations: 1.694 MB / 0.4979 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.3318, allocations: 71.56 kB / 0.498 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.3318, allocations: 20 kB / 0.498 GB, free: 4.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.3318, allocations: 6.656 kB / 0.498 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000901/0.3327, allocations: 0.4943 MB / 0.4985 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3328, allocations: 4 kB / 0.4985 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.333, allocations: 69.22 kB / 0.4986 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.3333, allocations: 91.83 kB / 0.4987 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.3348, allocations: 1.712 MB / 0.5003 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.3352, allocations: 55.67 kB / 0.5004 GB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.3352, allocations: 24.06 kB / 0.5004 GB, free: 1.816 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 () * Number of clocked 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.0003321/0.3356, allocations: 263.5 kB / 0.5007 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.3356, allocations: 47.44 kB / 0.5007 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.3367, allocations: 498.3 kB / 0.5012 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3367, allocations: 8 kB / 0.5012 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3367, allocations: 4 kB / 0.5012 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3367, allocations: 0 / 0.5012 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1694/0.5061, allocations: 1.106 MB / 0.5023 GB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.5061, allocations: 1.328 kB / 0.5023 GB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.5065, allocations: 74.5 kB / 0.5023 GB, free: 97.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/0.5068, allocations: 68.05 kB / 0.5024 GB, free: 97.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.5068, allocations: 12.25 kB / 0.5024 GB, free: 97.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.5083, allocations: 1.689 MB / 0.5041 GB, free: 95.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5083, allocations: 0.6562 kB / 0.5041 GB, free: 95.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.5098, allocations: 0.7822 MB / 0.5048 GB, free: 95.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.51, allocations: 162.4 kB / 0.505 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.5101, allocations: 14.36 kB / 0.505 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.5104, allocations: 44.16 kB / 0.505 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.5105, allocations: 49.17 kB / 0.5051 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.5105, allocations: 14.56 kB / 0.5051 GB, free: 95.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003325/0.5109, allocations: 263.6 kB / 0.5054 GB, free: 95.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5109, allocations: 0 / 0.5054 GB, free: 95.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009398/0.5118, allocations: 243 kB / 0.5056 GB, free: 95.58 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) * Number of clocked states: 0 () * 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.0001659/0.512, allocations: 135 kB / 0.5057 GB, free: 95.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.5138, allocations: 1.013 MB / 0.5067 GB, free: 95.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5138, allocations: 4.781 kB / 0.5067 GB, free: 95.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.5144, allocations: 364.3 kB / 0.5071 GB, free: 95.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006697/0.5151, allocations: 85.75 kB / 0.5071 GB, free: 95.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.5171, allocations: 1.326 MB / 0.5084 GB, free: 94.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.5174, allocations: 0.8537 MB / 0.5093 GB, free: 93.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002133/0.5176, allocations: 55.66 kB / 0.5093 GB, free: 93.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.5177, allocations: 36.56 kB / 0.5094 GB, free: 93.66 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5177, allocations: 0 / 0.5094 GB, free: 93.66 MB / 378.7 MB Notification: Performance of Templates: time 0.01002/0.5277, allocations: 6.766 MB / 0.516 GB, free: 93.36 MB / 378.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/jenkins1/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