Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_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.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_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.002634/0.002634, allocations: 175.3 kB / 8.152 MB, free: 2.215 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.835/1.835, allocations: 205.2 MB / 213.7 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001258, allocations: 89.67 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.205e-05/1.226e-05, allocations: 4 kB / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2375, allocations: 47.55 MB / 361.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.3645, allocations: 82.53 MB / 444.4 MB, free: 3.527 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/0.3649, allocations: 87.94 kB / 444.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02917/0.3941, allocations: 6.68 MB / 451.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.888e-05/0.3942, allocations: 8 kB / 451.2 MB, free: 12.79 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001752/0.396, allocations: 0.6859 MB / 451.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.396, allocations: 8.031 kB / 451.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.3962, allocations: 51.44 kB / 451.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007757/0.397, allocations: 373.2 kB / 452.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.397, allocations: 13.22 kB / 452.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.3971, allocations: 32 kB / 452.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008124/0.398, allocations: 233.5 kB / 452.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.3989, allocations: 359.8 kB / 452.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.399, allocations: 0 / 452.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.399, allocations: 7.984 kB / 452.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.3991, allocations: 12 kB / 452.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.4025, allocations: 1.493 MB / 454.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.4031, allocations: 226.8 kB / 454.6 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.4036, allocations: 134.2 kB / 454.8 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.4037, allocations: 8 kB / 454.8 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004605/0.4041, allocations: 192.1 kB / 455 MB, free: 8.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.845e-06/0.4042, allocations: 0 / 455 MB, free: 8.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008318/0.405, allocations: 267.8 kB / 455.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.4051, allocations: 140.5 kB / 455.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.4055, allocations: 255.3 kB / 455.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.4056, allocations: 33.7 kB / 455.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.4058, allocations: 242.7 kB / 455.9 MB, free: 7.789 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.4059, allocations: 98.56 kB / 456 MB, free: 7.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.4059, allocations: 0 / 456 MB, free: 7.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4061, allocations: 322.8 kB / 456.3 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.4064, allocations: 84.91 kB / 456.4 MB, free: 7.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.4068, allocations: 212.4 kB / 456.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.4071, allocations: 110.2 kB / 456.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4071, allocations: 0 / 456.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009401/0.408, allocations: 336.2 kB / 457 MB, free: 6.574 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005652/0.4086, allocations: 1.391 MB / 458.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.4087, allocations: 4 kB / 458.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/0.4091, allocations: 80.81 kB / 458.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.4096, allocations: 63.84 kB / 458.5 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.4123, allocations: 1.694 MB / 460.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.4128, allocations: 47.88 kB / 460.3 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.4129, allocations: 16.09 kB / 460.3 MB, free: 3.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.4129, allocations: 11.88 kB / 460.3 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008241/0.4137, allocations: 293.6 kB / 460.6 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4138, allocations: 4 kB / 460.6 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/0.4141, allocations: 81.22 kB / 460.7 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.4145, allocations: 51.92 kB / 460.7 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/0.4172, allocations: 1.697 MB / 462.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.4177, allocations: 43.89 kB / 462.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.4177, allocations: 16.38 kB / 462.5 MB, free: 0.75 MB / 346.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 (39): * Single equations (assignments): 37 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001884/0.4179, allocations: 48.2 kB / 462.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4181, allocations: 43.52 kB / 462.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.4182, allocations: 31.11 kB / 462.6 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.4182, allocations: 11.92 kB / 462.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4183, allocations: 0 / 462.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4183, allocations: 4 kB / 462.6 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.4201, allocations: 0.8668 MB / 463.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4201, allocations: 4 kB / 463.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.4204, allocations: 31.83 kB / 463.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000371/0.4208, allocations: 64.83 kB / 463.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.4208, allocations: 7.984 kB / 463.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/0.4231, allocations: 1.549 MB / 465.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4231, allocations: 4.062 kB / 465.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001143/0.4242, allocations: 0.4945 MB / 465.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.4245, allocations: 140.5 kB / 465.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-05/0.4246, allocations: 7.984 kB / 465.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.4251, allocations: 28.05 kB / 465.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.4252, allocations: 31.98 kB / 465.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.4253, allocations: 15.98 kB / 465.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003134/0.4256, allocations: 187.1 kB / 466 MB, free: 12.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001062/0.4267, allocations: 195.3 kB / 466.2 MB, free: 12.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * 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 (26): * Single equations (assignments): 19 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002176/0.4269, allocations: 114.5 kB / 466.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.4287, allocations: 0.681 MB / 467 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4287, allocations: 0 / 467 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005526/0.4292, allocations: 245.5 kB / 467.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.4299, allocations: 49.75 kB / 467.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.4321, allocations: 0.5557 MB / 467.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005987/0.4327, allocations: 0.8508 MB / 468.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4327, allocations: 0 / 468.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.01352/0.4463, allocations: 6.473 MB / 475.2 MB, free: 3.734 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_R/ChopperStepDown_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches