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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 89.34 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.991e-06/6.021e-06, allocations: 0 / 343.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09703, allocations: 51.48 MB / 394.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2664/0.3635, allocations: 87.23 MB / 481.9 MB, free: 6.219 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.3638, allocations: 88.36 kB / 482 MB, free: 6.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02633/0.3901, allocations: 10.25 MB / 492.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.571e-05/0.3902, allocations: 16 kB / 492.2 MB, free: 13.68 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.001334/0.3916, allocations: 0.8032 MB / 493 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3916, allocations: 8.031 kB / 493 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.3917, allocations: 67.23 kB / 493.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.3923, allocations: 404.5 kB / 493.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.3924, allocations: 19.91 kB / 493.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.3924, allocations: 36 kB / 493.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005304/0.393, allocations: 296.6 kB / 493.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.3937, allocations: 425.8 kB / 494.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3937, allocations: 0 / 494.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.3938, allocations: 0 / 494.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.3938, allocations: 15.98 kB / 494.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.3964, allocations: 1.762 MB / 496 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006285/0.397, allocations: 216.2 kB / 496.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.3975, allocations: 214.2 kB / 496.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.3976, allocations: 8.328 kB / 496.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/0.3979, allocations: 219.3 kB / 496.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 2.895e-06/0.398, allocations: 4 kB / 496.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007211/0.3987, allocations: 339.5 kB / 497 MB, free: 9.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.3988, allocations: 114.8 kB / 497.1 MB, free: 9.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.3991, allocations: 277.9 kB / 497.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.3992, allocations: 25.7 kB / 497.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.3993, allocations: 226.8 kB / 497.6 MB, free: 8.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.3994, allocations: 131 kB / 497.8 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.3994, allocations: 0 / 497.8 MB, free: 8.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3996, allocations: 349.7 kB / 498.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.3998, allocations: 108 kB / 498.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.4001, allocations: 231.7 kB / 498.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.4003, allocations: 126.4 kB / 498.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4003, allocations: 4 kB / 498.6 MB, free: 8.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007092/0.401, allocations: 414.5 kB / 499 MB, free: 7.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006026/0.4017, allocations: 1.308 MB / 0.4886 GB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.4017, allocations: 4 kB / 0.4886 GB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.402, allocations: 78.02 kB / 0.4886 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.4024, allocations: 95.2 kB / 0.4887 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/0.4041, allocations: 1.508 MB / 0.4902 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004221/0.4045, allocations: 59.72 kB / 0.4903 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.4046, allocations: 19.62 kB / 0.4903 GB, free: 4.742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.4046, allocations: 4 kB / 0.4903 GB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005757/0.4052, allocations: 345.8 kB / 0.4906 GB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4052, allocations: 4 kB / 0.4906 GB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.4054, allocations: 66.89 kB / 0.4907 GB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.4058, allocations: 91.8 kB / 0.4908 GB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.4072, allocations: 1.508 MB / 0.4922 GB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.4076, allocations: 43.8 kB / 0.4923 GB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.4076, allocations: 19.44 kB / 0.4923 GB, free: 2.816 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_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.0001952/0.4078, allocations: 134.8 kB / 0.4924 GB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.4079, allocations: 41.03 kB / 0.4925 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/0.4086, allocations: 364.1 kB / 0.4928 GB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4086, allocations: 16 kB / 0.4928 GB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.4086, allocations: 4 kB / 0.4928 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4086, allocations: 3.984 kB / 0.4928 GB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.4099, allocations: 0.8966 MB / 0.4937 GB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4099, allocations: 0 / 0.4937 GB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.4103, allocations: 83.73 kB / 0.4938 GB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/0.4105, allocations: 64.75 kB / 0.4939 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.4106, allocations: 7.625 kB / 0.4939 GB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.4118, allocations: 1.498 MB / 0.4953 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4118, allocations: 4 kB / 0.4953 GB, free: 4 kB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008884/0.4127, allocations: 0.6271 MB / 0.4959 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.4129, allocations: 152.8 kB / 0.4961 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.413, allocations: 7.062 kB / 0.4961 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.4134, allocations: 40.78 kB / 0.4961 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.4135, allocations: 38.75 kB / 0.4962 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.4135, allocations: 18.8 kB / 0.4962 GB, free: 15.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002162/0.4138, allocations: 207.6 kB / 0.4964 GB, free: 15.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007649/0.4145, allocations: 227.9 kB / 0.4966 GB, free: 14.87 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.0001943/0.4147, allocations: 129.2 kB / 0.4967 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.4159, allocations: 0.7714 MB / 0.4975 GB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4159, allocations: 4.312 kB / 0.4975 GB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.4163, allocations: 281.9 kB / 0.4977 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.4167, allocations: 58.34 kB / 0.4978 GB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.4185, allocations: 0.8164 MB / 0.4986 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/0.419, allocations: 0.8943 MB / 0.4995 GB, free: 12.12 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4191, allocations: 0 / 0.4995 GB, free: 12.12 MB / 378.7 MB Notification: Performance of Templates: time 0.01366/0.4327, allocations: 7.782 MB / 0.5071 GB, free: 4.516 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