Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor.v|inductorSource.i|meanCurrent.x|meanVoltage.x",fileNamePrefix="Modelica_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 176.6 kB / 8.476 MB, free: 1.867 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.124/1.124, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009093/0.000909, allocations: 99.25 kB / 262.1 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.582e-06, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0685/0.06852, allocations: 47.57 MB / 362.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.207/0.2756, allocations: 82.38 MB / 444.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.2758, allocations: 83.7 kB / 445 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01765/0.2935, allocations: 7.309 MB / 452.3 MB, free: 8.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.756e-05/0.2935, allocations: 11.08 kB / 452.3 MB, free: 8.312 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001032/0.2946, allocations: 0.7324 MB / 453.1 MB, free: 7.734 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2946, allocations: 7.625 kB / 453.1 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.934e-05/0.2947, allocations: 66.03 kB / 453.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.2952, allocations: 377.8 kB / 453.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.2952, allocations: 11.53 kB / 453.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.2953, allocations: 34.77 kB / 453.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004342/0.2957, allocations: 258 kB / 453.8 MB, free: 7.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.2963, allocations: 397.5 kB / 454.2 MB, free: 7.262 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2963, allocations: 4 kB / 454.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.2964, allocations: 0 / 454.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.2964, allocations: 15.59 kB / 454.2 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.2983, allocations: 1.609 MB / 455.8 MB, free: 6.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.2988, allocations: 264.2 kB / 456.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.2991, allocations: 197.5 kB / 456.3 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.2991, allocations: 3.969 kB / 456.3 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.2994, allocations: 206.3 kB / 456.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.2994, allocations: 0 / 456.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004598/0.2999, allocations: 292.2 kB / 456.8 MB, free: 5.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.2999, allocations: 118.4 kB / 456.9 MB, free: 5.844 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.3001, allocations: 265.4 kB / 457.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.3002, allocations: 25.7 kB / 457.2 MB, free: 5.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.3002, allocations: 203.1 kB / 457.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.3003, allocations: 110.7 kB / 457.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.3003, allocations: 4 kB / 457.5 MB, free: 5.449 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.3004, allocations: 356.4 kB / 457.8 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3006, allocations: 92.31 kB / 457.9 MB, free: 5.121 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.3008, allocations: 218.6 kB / 458.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3009, allocations: 120.9 kB / 458.2 MB, free: 4.941 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3009, allocations: 0 / 458.2 MB, free: 4.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005119/0.3014, allocations: 384.6 kB / 458.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.3016, allocations: 1.3 MB / 459.9 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3017, allocations: 7.953 kB / 459.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.3019, allocations: 66.39 kB / 460 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.3022, allocations: 88.86 kB / 460.1 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.3034, allocations: 1.503 MB / 461.6 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.3037, allocations: 56.34 kB / 461.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.3038, allocations: 16.78 kB / 461.7 MB, free: 2.129 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.102e-06/0.3038, allocations: 3.969 kB / 461.7 MB, free: 2.129 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004876/0.3043, allocations: 309.2 kB / 462 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3043, allocations: 3.656 kB / 462 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.3045, allocations: 72.72 kB / 462 MB, free: 2.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.3048, allocations: 72.59 kB / 462.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.3059, allocations: 1.513 MB / 463.6 MB, free: 16.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.3062, allocations: 42 kB / 463.7 MB, free: 16.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3062, allocations: 18.41 kB / 463.7 MB, free: 16.74 MB / 330.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,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$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 (48): * Single equations (assignments): 46 * 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.0001371/0.3064, allocations: 135.7 kB / 463.8 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.3065, allocations: 37.25 kB / 463.8 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.3065, allocations: 37.36 kB / 463.9 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.3065, allocations: 11.83 kB / 463.9 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3066, allocations: 5.266 kB / 463.9 MB, free: 16.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3066, allocations: 0 / 463.9 MB, free: 16.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.3076, allocations: 0.8105 MB / 464.7 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.3077, allocations: 0 / 464.7 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.3079, allocations: 49.41 kB / 464.8 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.3081, allocations: 72.59 kB / 464.8 MB, free: 16.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.3081, allocations: 6.609 kB / 464.8 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.3093, allocations: 1.492 MB / 466.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3094, allocations: 0 / 466.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006728/0.31, allocations: 0.537 MB / 466.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.3102, allocations: 148.2 kB / 467 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.3103, allocations: 10.36 kB / 467 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.3106, allocations: 23.61 kB / 467 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.3107, allocations: 38.91 kB / 467.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.3107, allocations: 8.469 kB / 467.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001919/0.3109, allocations: 201.4 kB / 467.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006981/0.3116, allocations: 202.1 kB / 467.5 MB, free: 14.34 MB / 330.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,inductorSource.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,meanVoltage.y) * 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 (32): * Single equations (assignments): 25 * 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.0001562/0.3118, allocations: 120.9 kB / 467.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.3129, allocations: 0.7211 MB / 468.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3129, allocations: 5.312 kB / 468.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.3132, allocations: 248.9 kB / 468.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.3136, allocations: 60.69 kB / 468.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.315, allocations: 0.6762 MB / 469.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.3155, allocations: 0.871 MB / 470.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3155, allocations: 4 kB / 470.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of Templates: time 0.01278/0.3283, allocations: 6.988 MB / 477.2 MB, free: 9.203 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches