Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001432, allocations: 201.5 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007578/0.0007578, allocations: 104.7 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002062/0.0002063, allocations: 8 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.195, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09648/0.2916, allocations: 87.85 MB / 497.2 MB, free: 3.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.2919, allocations: 87.95 kB / 497.3 MB, free: 3.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02852/0.3204, allocations: 10.54 MB / 0.496 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3204, allocations: 0 / 0.496 GB, free: 8.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.3205, allocations: 12 kB / 0.496 GB, free: 8.961 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.001531/0.322, allocations: 0.8456 MB / 0.4968 GB, free: 8.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3221, allocations: 8.031 kB / 0.4968 GB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.3222, allocations: 68.19 kB / 0.4969 GB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005988/0.3228, allocations: 418.9 kB / 0.4973 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.3229, allocations: 37.38 kB / 0.4973 GB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/0.323, allocations: 52.38 kB / 0.4974 GB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009613/0.3239, allocations: 0.5324 MB / 0.4979 GB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.324, allocations: 4.188 kB / 0.4979 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.324, allocations: 31.92 kB / 0.4979 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.324, allocations: 12 kB / 0.4979 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008848/0.3249, allocations: 399.7 kB / 0.4983 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.3276, allocations: 1.877 MB / 0.5001 GB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.3287, allocations: 439.4 kB / 0.5006 GB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.3292, allocations: 265.3 kB / 0.5008 GB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.3293, allocations: 12.25 kB / 0.5008 GB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005473/0.3298, allocations: 305.1 kB / 0.5011 GB, free: 3.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.044e-06/0.3298, allocations: 0 / 0.5011 GB, free: 3.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001677/0.3315, allocations: 0.7369 MB / 0.5018 GB, free: 2.684 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.3316, allocations: 110.8 kB / 0.5019 GB, free: 2.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.3321, allocations: 381.7 kB / 0.5023 GB, free: 2.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.3321, allocations: 41.69 kB / 0.5023 GB, free: 2.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.3324, allocations: 252.9 kB / 0.5026 GB, free: 1.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3325, allocations: 146.1 kB / 0.5027 GB, free: 1.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.3325, allocations: 4 kB / 0.5027 GB, free: 1.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3327, allocations: 358.8 kB / 0.5031 GB, free: 1.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.3331, allocations: 157 kB / 0.5032 GB, free: 1.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.3335, allocations: 284.5 kB / 0.5035 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007512/0.3343, allocations: 460.9 kB / 0.5039 GB, free: 384 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3343, allocations: 4 kB / 0.5039 GB, free: 380 kB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.163/0.4973, allocations: 0.5622 MB / 0.5045 GB, free: 93.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.4975, allocations: 220.4 kB / 0.5047 GB, free: 93.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4975, allocations: 3.312 kB / 0.5047 GB, free: 93.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.4979, allocations: 72.39 kB / 0.5048 GB, free: 93.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.4983, allocations: 94.53 kB / 0.5049 GB, free: 93.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.4998, allocations: 1.701 MB / 0.5065 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.5002, allocations: 65.25 kB / 0.5066 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.5003, allocations: 20.58 kB / 0.5066 GB, free: 91.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.5003, allocations: 7.688 kB / 0.5066 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009623/0.5013, allocations: 498.2 kB / 0.5071 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5013, allocations: 3.859 kB / 0.5071 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.5015, allocations: 75.31 kB / 0.5072 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.5018, allocations: 95.23 kB / 0.5072 GB, free: 91.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.5031, allocations: 1.693 MB / 0.5089 GB, free: 90.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.5036, allocations: 65.83 kB / 0.509 GB, free: 90.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.5036, allocations: 22.84 kB / 0.509 GB, free: 90.48 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.0003314/0.5039, allocations: 266.3 kB / 0.5092 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.504, allocations: 44.95 kB / 0.5093 GB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.505, allocations: 0.4969 MB / 0.5098 GB, free: 90.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.5051, allocations: 4.594 kB / 0.5098 GB, free: 90.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.5051, allocations: 1.156 kB / 0.5098 GB, free: 90.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5051, allocations: 3.094 kB / 0.5098 GB, free: 90.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.5068, allocations: 1.107 MB / 0.5109 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.5068, allocations: 1.688 kB / 0.5109 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.5072, allocations: 78.91 kB / 0.5109 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.5074, allocations: 67.84 kB / 0.511 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.5075, allocations: 15.36 kB / 0.511 GB, free: 89.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.5087, allocations: 1.69 MB / 0.5127 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5087, allocations: 1.438 kB / 0.5127 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.5101, allocations: 0.7919 MB / 0.5134 GB, free: 88.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.5103, allocations: 158.4 kB / 0.5136 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.5104, allocations: 12.12 kB / 0.5136 GB, free: 88.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.5107, allocations: 42.06 kB / 0.5136 GB, free: 88.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.5108, allocations: 43.92 kB / 0.5137 GB, free: 88.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.5108, allocations: 22.27 kB / 0.5137 GB, free: 88.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002683/0.5111, allocations: 270.3 kB / 0.514 GB, free: 88.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5111, allocations: 0 / 0.514 GB, free: 88.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009019/0.512, allocations: 248.3 kB / 0.5142 GB, free: 88 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.0001704/0.5122, allocations: 136.5 kB / 0.5143 GB, free: 87.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.5137, allocations: 1.019 MB / 0.5153 GB, free: 87.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5137, allocations: 4.125 kB / 0.5153 GB, free: 87.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.5142, allocations: 363.7 kB / 0.5157 GB, free: 87.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.5148, allocations: 93.95 kB / 0.5158 GB, free: 87.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.5165, allocations: 1.335 MB / 0.5171 GB, free: 86.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.5167, allocations: 0.8593 MB / 0.5179 GB, free: 85.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000224/0.5169, allocations: 60.86 kB / 0.518 GB, free: 85.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.517, allocations: 30.69 kB / 0.518 GB, free: 85.55 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.517, allocations: 0 / 0.518 GB, free: 85.55 MB / 378.7 MB Notification: Performance of Templates: time 0.009968/0.527, allocations: 6.829 MB / 0.5247 GB, free: 85.13 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches