Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.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.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") [: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.002002/0.002003, 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.228/1.228, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008389/0.0008389, allocations: 92.14 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.398e-06/9.528e-06, allocations: 4 kB / 343.2 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 51.47 MB / 394.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2464/0.3677, allocations: 87.05 MB / 481.7 MB, free: 6.062 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.368, allocations: 85.19 kB / 481.8 MB, free: 6.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02608/0.3941, allocations: 9.936 MB / 491.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.944e-05/0.3942, allocations: 12 kB / 491.7 MB, free: 13.78 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001413/0.3956, allocations: 0.7873 MB / 492.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3956, allocations: 8.031 kB / 492.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.3958, allocations: 67.23 kB / 492.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.3964, allocations: 397.3 kB / 493 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.3964, allocations: 15.88 kB / 493 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.381e-05/0.3965, allocations: 32 kB / 493 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005399/0.3971, allocations: 277.5 kB / 493.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/0.3978, allocations: 409.8 kB / 493.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3978, allocations: 0 / 493.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.3978, allocations: 0 / 493.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3979, allocations: 19.91 kB / 493.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.4004, allocations: 1.68 MB / 495.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.4011, allocations: 326.2 kB / 495.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.4015, allocations: 212.8 kB / 495.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.4016, allocations: 7.984 kB / 495.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003427/0.4019, allocations: 217.8 kB / 496.1 MB, free: 9.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.402, allocations: 3.281 kB / 496.1 MB, free: 9.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006679/0.4026, allocations: 317.8 kB / 496.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.4027, allocations: 114.6 kB / 496.6 MB, free: 9.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.403, allocations: 280.2 kB / 496.8 MB, free: 9.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.4031, allocations: 29.27 kB / 496.9 MB, free: 9.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.4032, allocations: 219.3 kB / 497.1 MB, free: 9.152 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.381e-05/0.4033, allocations: 116.7 kB / 497.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.4033, allocations: 0 / 497.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4035, allocations: 364.6 kB / 497.5 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.4036, allocations: 100.2 kB / 497.6 MB, free: 8.648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.4039, allocations: 222.8 kB / 497.9 MB, free: 8.438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.4041, allocations: 114.6 kB / 498 MB, free: 8.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4041, allocations: 4 kB / 498 MB, free: 8.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006384/0.4048, allocations: 398.8 kB / 498.4 MB, free: 8.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004583/0.4052, allocations: 1.31 MB / 499.7 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4053, allocations: 4 kB / 499.7 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/0.4056, allocations: 71.77 kB / 499.7 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.406, allocations: 95.31 kB / 499.8 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.4074, allocations: 1.507 MB / 0.4896 GB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.4078, allocations: 55.78 kB / 0.4897 GB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.4078, allocations: 19.62 kB / 0.4897 GB, free: 4.977 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.4078, allocations: 0 / 0.4897 GB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00054/0.4084, allocations: 327.9 kB / 0.49 GB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4084, allocations: 4 kB / 0.49 GB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/0.4086, allocations: 70.73 kB / 0.4901 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.409, allocations: 95.89 kB / 0.4901 GB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.4103, allocations: 1.507 MB / 0.4916 GB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.4107, allocations: 55.66 kB / 0.4917 GB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.4107, allocations: 20.81 kB / 0.4917 GB, free: 3.039 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,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (50): * Single equations (assignments): 48 * 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.0001559/0.4109, allocations: 122.5 kB / 0.4918 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.411, allocations: 39.53 kB / 0.4918 GB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006006/0.4116, allocations: 348.8 kB / 0.4922 GB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.4116, allocations: 4 kB / 0.4922 GB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.4116, allocations: 0 / 0.4922 GB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4116, allocations: 4 kB / 0.4922 GB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.4129, allocations: 0.8589 MB / 0.493 GB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.4129, allocations: 4 kB / 0.493 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.4132, allocations: 67.89 kB / 0.4931 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.4135, allocations: 76.39 kB / 0.4932 GB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.4135, allocations: 0 / 0.4932 GB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.4148, allocations: 1.509 MB / 0.4946 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4148, allocations: 5.594 kB / 0.4946 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008285/0.4157, allocations: 0.5873 MB / 0.4952 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.4159, allocations: 149.1 kB / 0.4954 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/0.4159, allocations: 5.688 kB / 0.4954 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.4163, allocations: 40.47 kB / 0.4954 GB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4164, allocations: 38.84 kB / 0.4954 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.4165, allocations: 18.34 kB / 0.4955 GB, free: 15.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002552/0.4168, allocations: 207.4 kB / 0.4957 GB, free: 15.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008662/0.4176, allocations: 216.3 kB / 0.4959 GB, free: 15.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (36): * Single equations (assignments): 29 * 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.0001977/0.4178, allocations: 126.2 kB / 0.496 GB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.419, allocations: 0.7445 MB / 0.4967 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.419, allocations: 192 / 0.4967 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.4194, allocations: 271 kB / 0.497 GB, free: 14.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.4198, allocations: 66.19 kB / 0.497 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.4216, allocations: 0.7241 MB / 0.4977 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.4221, allocations: 0.8976 MB / 0.4986 GB, free: 12.59 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4221, allocations: 0 / 0.4986 GB, free: 12.59 MB / 378.7 MB Notification: Performance of Templates: time 0.01476/0.4369, allocations: 7.569 MB / 0.506 GB, free: 5.176 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches