Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.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.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001074/0.001075, allocations: 183.2 kB / 8.481 MB, free: 1.883 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.105/1.105, allocations: 205.2 MB / 214.1 MB, free: 5.09 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.0008311/0.0008311, allocations: 79.69 kB / 262.1 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.652e-06/6.692e-06, allocations: 4 kB / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06878/0.0688, allocations: 47.58 MB / 362.6 MB, free: 9.934 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2177/0.2865, allocations: 82.81 MB / 445.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.2868, allocations: 89.05 kB / 445.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01694/0.3037, allocations: 6.989 MB / 452.5 MB, free: 8.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.3038, allocations: 15.5 kB / 452.5 MB, free: 8.406 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0009413/0.3047, allocations: 0.71 MB / 453.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.3048, allocations: 10.78 kB / 453.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.212e-05/0.3049, allocations: 58.05 kB / 453.2 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.3053, allocations: 373.2 kB / 453.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3053, allocations: 14.78 kB / 453.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.3054, allocations: 26.34 kB / 453.6 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004392/0.3059, allocations: 253.7 kB / 453.9 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.3064, allocations: 373 kB / 454.3 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3064, allocations: 3.906 kB / 454.3 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.3064, allocations: 7.375 kB / 454.3 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3065, allocations: 11.53 kB / 454.3 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.3083, allocations: 1.58 MB / 455.9 MB, free: 6.332 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.3087, allocations: 236.6 kB / 456.1 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.3089, allocations: 144.4 kB / 456.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3089, allocations: 3.844 kB / 456.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.3092, allocations: 209.5 kB / 456.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.3092, allocations: 0 / 456.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004421/0.3096, allocations: 266.7 kB / 456.7 MB, free: 6.086 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.3097, allocations: 139 kB / 456.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3099, allocations: 257.6 kB / 457.1 MB, free: 5.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.3099, allocations: 33.45 kB / 457.1 MB, free: 5.773 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.31, allocations: 208.8 kB / 457.3 MB, free: 5.609 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.3101, allocations: 96.25 kB / 457.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/0.3101, allocations: 0 / 457.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.3102, allocations: 344.3 kB / 457.8 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.3103, allocations: 87.25 kB / 457.8 MB, free: 5.215 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.3105, allocations: 212.3 kB / 458 MB, free: 5.059 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3106, allocations: 107.3 kB / 458.2 MB, free: 5.039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3107, allocations: 0 / 458.2 MB, free: 5.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005296/0.3112, allocations: 363.3 kB / 458.5 MB, free: 4.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.3114, allocations: 1.401 MB / 459.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3114, allocations: 3.688 kB / 459.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.3117, allocations: 75.14 kB / 460 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.3119, allocations: 73.75 kB / 460.1 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.3132, allocations: 1.644 MB / 461.7 MB, free: 2.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.3135, allocations: 60.41 kB / 461.8 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.3136, allocations: 20 kB / 461.8 MB, free: 2.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.3136, allocations: 7.719 kB / 461.8 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004714/0.3141, allocations: 291 kB / 462.1 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3141, allocations: 4.031 kB / 462.1 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.3143, allocations: 80.64 kB / 462.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.3145, allocations: 56.67 kB / 462.2 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.3158, allocations: 1.642 MB / 463.9 MB, free: 16.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.3161, allocations: 38.3 kB / 463.9 MB, free: 16.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.3161, allocations: 15.84 kB / 463.9 MB, free: 16.54 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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,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 (43): * Single equations (assignments): 41 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.3163, allocations: 136.5 kB / 464 MB, free: 16.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.3163, allocations: 41.41 kB / 464.1 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.3164, allocations: 33.58 kB / 464.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3164, allocations: 3.719 kB / 464.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3164, allocations: 1.25 kB / 464.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3164, allocations: 0 / 464.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.3175, allocations: 0.8772 MB / 465 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3175, allocations: 1.344 kB / 465 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.3177, allocations: 34.81 kB / 465 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.3179, allocations: 64.94 kB / 465.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.3179, allocations: 6.312 kB / 465.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.3192, allocations: 1.511 MB / 466.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3192, allocations: 3.906 kB / 466.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006533/0.3198, allocations: 0.5093 MB / 467.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.32, allocations: 137.8 kB / 467.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.3201, allocations: 6.562 kB / 467.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.3204, allocations: 31.16 kB / 467.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.3205, allocations: 38.36 kB / 467.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.3205, allocations: 11.88 kB / 467.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000184/0.3207, allocations: 197.5 kB / 467.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007441/0.3214, allocations: 188.3 kB / 467.7 MB, free: 14.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.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,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 (29): * Single equations (assignments): 22 * 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.0001651/0.3216, allocations: 118.3 kB / 467.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.3227, allocations: 0.6911 MB / 468.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3227, allocations: 0 / 468.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.323, allocations: 240.6 kB / 468.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3234, allocations: 68.08 kB / 468.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3246, allocations: 0.584 MB / 469.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.3251, allocations: 0.8589 MB / 470.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3251, allocations: 0 / 470.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of Templates: time 0.0123/0.3374, allocations: 6.706 MB / 477 MB, free: 9.137 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_RL/ChopperStepDown_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches