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.0009863/0.0009863, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008417/0.0008418, allocations: 101.2 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002133/0.0002135, allocations: 7.984 kB / 358 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1957, allocations: 51.47 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09439/0.2901, allocations: 88.04 MB / 497.5 MB, free: 2.574 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.2904, allocations: 95.92 kB / 497.6 MB, free: 2.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0278/0.3182, allocations: 10.6 MB / 0.4962 GB, free: 7.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3182, allocations: 0 / 0.4962 GB, free: 7.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.484e-05/0.3182, allocations: 15.98 kB / 0.4963 GB, free: 7.809 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.001475/0.3197, allocations: 0.8436 MB / 0.4971 GB, free: 6.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3198, allocations: 12.02 kB / 0.4971 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.3199, allocations: 75.14 kB / 0.4972 GB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.3205, allocations: 405.9 kB / 0.4976 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.3205, allocations: 40.98 kB / 0.4976 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.3206, allocations: 48 kB / 0.4976 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009262/0.3215, allocations: 0.5318 MB / 0.4982 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3216, allocations: 0 / 0.4982 GB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.3216, allocations: 24 kB / 0.4982 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.3217, allocations: 19.94 kB / 0.4982 GB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.3225, allocations: 403.7 kB / 0.4986 GB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.3257, allocations: 1.877 MB / 0.5004 GB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.3268, allocations: 443.2 kB / 0.5008 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.3269, allocations: 4.328 kB / 0.5008 GB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005947/0.3275, allocations: 317 kB / 0.5011 GB, free: 2.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/0.3275, allocations: 0 / 0.5011 GB, free: 2.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001746/0.3293, allocations: 0.7302 MB / 0.5019 GB, free: 1.793 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3293, allocations: 110.8 kB / 0.502 GB, free: 1.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.3297, allocations: 344.8 kB / 0.5023 GB, free: 1.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.3298, allocations: 41.69 kB / 0.5023 GB, free: 1.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.3299, allocations: 260.9 kB / 0.5026 GB, free: 1.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.33, allocations: 142 kB / 0.5027 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.3301, allocations: 12 kB / 0.5027 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3302, allocations: 354.8 kB / 0.5031 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.3305, allocations: 153 kB / 0.5032 GB, free: 364 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.3311, allocations: 288.5 kB / 0.5035 GB, free: 20 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1542/0.4852, allocations: 200 kB / 0.5037 GB, free: 92.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.4853, allocations: 2.062 kB / 0.5037 GB, free: 92.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001312/0.4866, allocations: 0.5768 MB / 0.5042 GB, free: 92.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.4868, allocations: 1.341 MB / 0.5056 GB, free: 91.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4869, allocations: 3.828 kB / 0.5056 GB, free: 91.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.4872, allocations: 70.7 kB / 0.5056 GB, free: 91.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.4876, allocations: 96.28 kB / 0.5057 GB, free: 91.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.489, allocations: 1.715 MB / 0.5074 GB, free: 89.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.4895, allocations: 68.5 kB / 0.5075 GB, free: 89.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.4895, allocations: 19.16 kB / 0.5075 GB, free: 89.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.4896, allocations: 3.906 kB / 0.5075 GB, free: 89.75 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008617/0.4904, allocations: 498.1 kB / 0.508 GB, free: 89.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4904, allocations: 6.469 kB / 0.508 GB, free: 89.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.4906, allocations: 76.09 kB / 0.508 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.491, allocations: 90.41 kB / 0.5081 GB, free: 89.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.4922, allocations: 1.716 MB / 0.5098 GB, free: 88.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.4926, allocations: 60.31 kB / 0.5099 GB, free: 88.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.4927, allocations: 19.23 kB / 0.5099 GB, free: 88.37 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.0003042/0.493, allocations: 262.8 kB / 0.5101 GB, free: 88.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.4931, allocations: 47.7 kB / 0.5102 GB, free: 88.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009629/0.494, allocations: 0.4989 MB / 0.5107 GB, free: 88.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.494, allocations: 5.188 kB / 0.5107 GB, free: 88.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.494, allocations: 4.891 kB / 0.5107 GB, free: 88.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4941, allocations: 1.594 kB / 0.5107 GB, free: 88.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.4957, allocations: 1.085 MB / 0.5117 GB, free: 87.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.4958, allocations: 7.891 kB / 0.5117 GB, free: 87.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.4961, allocations: 79 kB / 0.5118 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.4963, allocations: 71.38 kB / 0.5119 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.4963, allocations: 9.312 kB / 0.5119 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.4976, allocations: 1.706 MB / 0.5136 GB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4977, allocations: 0.7031 kB / 0.5136 GB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.4989, allocations: 0.7828 MB / 0.5143 GB, free: 86.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.4991, allocations: 152.6 kB / 0.5145 GB, free: 85.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.4991, allocations: 15.28 kB / 0.5145 GB, free: 85.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.4995, allocations: 49.66 kB / 0.5145 GB, free: 85.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/0.4996, allocations: 41.8 kB / 0.5146 GB, free: 85.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.4996, allocations: 14.22 kB / 0.5146 GB, free: 85.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.4998, allocations: 270.1 kB / 0.5148 GB, free: 85.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4998, allocations: 3.906 kB / 0.5148 GB, free: 85.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007448/0.5006, allocations: 250.7 kB / 0.5151 GB, free: 85.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001399/0.5007, allocations: 129.2 kB / 0.5152 GB, free: 85.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.5021, allocations: 1.024 MB / 0.5162 GB, free: 85.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5021, allocations: 0 / 0.5162 GB, free: 85.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.5025, allocations: 357.8 kB / 0.5165 GB, free: 84.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.5029, allocations: 89.91 kB / 0.5166 GB, free: 84.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.5045, allocations: 1.33 MB / 0.5179 GB, free: 83.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.5048, allocations: 0.8642 MB / 0.5188 GB, free: 83.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.505, allocations: 58.73 kB / 0.5188 GB, free: 83.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.5051, allocations: 38.69 kB / 0.5189 GB, free: 83.26 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5051, allocations: 0 / 0.5189 GB, free: 83.26 MB / 378.7 MB Notification: Performance of Templates: time 0.009607/0.5147, allocations: 6.744 MB / 0.5255 GB, free: 82.61 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/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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches