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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002256/0.002263, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001122, allocations: 97.38 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.674e-05, allocations: 0 / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3564, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.4891, allocations: 82.6 MB / 445 MB, free: 3.699 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.4895, allocations: 87.94 kB / 445 MB, free: 3.613 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03038/0.5199, allocations: 6.935 MB / 452 MB, free: 12.72 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.52, allocations: 3.938 kB / 452 MB, free: 12.71 MB / 347.1 MB Notification: Performance of Transformations before backend: time 4.1e-05/0.52, allocations: 8 kB / 452 MB, free: 12.71 MB / 347.1 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.001776/0.5218, allocations: 0.6827 MB / 452.7 MB, free: 11.97 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5219, allocations: 16.03 kB / 452.7 MB, free: 11.96 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.5221, allocations: 47.44 kB / 452.7 MB, free: 11.91 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/0.5229, allocations: 366.7 kB / 453.1 MB, free: 11.51 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.523, allocations: 12 kB / 453.1 MB, free: 11.5 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.5231, allocations: 28 kB / 453.1 MB, free: 11.47 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007687/0.5239, allocations: 237.5 kB / 453.4 MB, free: 11.23 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.5248, allocations: 359.9 kB / 453.7 MB, free: 10.86 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.5249, allocations: 0 / 453.7 MB, free: 10.86 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.5249, allocations: 0 / 453.7 MB, free: 10.86 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.525, allocations: 8 kB / 453.7 MB, free: 10.86 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.5286, allocations: 1.517 MB / 455.2 MB, free: 9.254 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/0.5295, allocations: 239.7 kB / 455.5 MB, free: 9.008 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.53, allocations: 143.3 kB / 455.6 MB, free: 8.867 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.53, allocations: 5.75 kB / 455.6 MB, free: 8.863 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005322/0.5306, allocations: 216 kB / 455.8 MB, free: 8.629 MB / 347.1 MB Notification: Performance of pre-optimization done (n=34): time 3.336e-06/0.5306, allocations: 4 kB / 455.8 MB, free: 8.625 MB / 347.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009076/0.5315, allocations: 283.7 kB / 456.1 MB, free: 8.34 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/0.5316, allocations: 132.5 kB / 456.2 MB, free: 8.18 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.5321, allocations: 261.1 kB / 456.5 MB, free: 7.918 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.5321, allocations: 25.7 kB / 456.5 MB, free: 7.887 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.5324, allocations: 282.6 kB / 456.8 MB, free: 7.605 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.5325, allocations: 90.66 kB / 456.9 MB, free: 7.516 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.5326, allocations: 4 kB / 456.9 MB, free: 7.512 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5327, allocations: 326.9 kB / 457.2 MB, free: 7.184 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.533, allocations: 80.88 kB / 457.3 MB, free: 7.105 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.5334, allocations: 211.2 kB / 457.5 MB, free: 6.836 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.5337, allocations: 98.23 kB / 457.6 MB, free: 6.742 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.5337, allocations: 3.953 kB / 457.6 MB, free: 6.738 MB / 347.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009703/0.5347, allocations: 352.8 kB / 457.9 MB, free: 6.387 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000729/0.5354, allocations: 1.424 MB / 459.4 MB, free: 4.848 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.5355, allocations: 4 kB / 459.4 MB, free: 4.844 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005068/0.536, allocations: 80.77 kB / 459.4 MB, free: 4.762 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.5364, allocations: 61.78 kB / 459.5 MB, free: 4.703 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/0.5391, allocations: 1.736 MB / 461.2 MB, free: 2.855 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006618/0.5399, allocations: 55.72 kB / 461.3 MB, free: 2.801 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.5399, allocations: 20 kB / 461.3 MB, free: 2.781 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5399, allocations: 6.656 kB / 461.3 MB, free: 2.777 MB / 347.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008741/0.5408, allocations: 302 kB / 461.6 MB, free: 2.48 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.5409, allocations: 8.031 kB / 461.6 MB, free: 2.473 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.5412, allocations: 84.33 kB / 461.7 MB, free: 2.391 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.5416, allocations: 51.86 kB / 461.8 MB, free: 2.34 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.5443, allocations: 1.741 MB / 463.5 MB, free: 496 kB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.5449, allocations: 43.8 kB / 463.5 MB, free: 452 kB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.5449, allocations: 16 kB / 463.6 MB, free: 436 kB / 347.1 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.0002235/0.5451, allocations: 123.7 kB / 463.7 MB, free: 304 kB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.5453, allocations: 35.58 kB / 463.7 MB, free: 268 kB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.5454, allocations: 43.52 kB / 463.7 MB, free: 220 kB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.5454, allocations: 4 kB / 463.8 MB, free: 216 kB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5455, allocations: 8 kB / 463.8 MB, free: 208 kB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5455, allocations: 0 / 463.8 MB, free: 208 kB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.5474, allocations: 0.8745 MB / 464.6 MB, free: 15.28 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5475, allocations: 7.984 kB / 464.6 MB, free: 15.27 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.5477, allocations: 23.94 kB / 464.7 MB, free: 15.25 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003705/0.5481, allocations: 76.84 kB / 464.7 MB, free: 15.17 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.5482, allocations: 4 kB / 464.7 MB, free: 15.16 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.5506, allocations: 1.672 MB / 466.4 MB, free: 13.38 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.5507, allocations: 8.344 kB / 466.4 MB, free: 13.38 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5519, allocations: 0.5142 MB / 466.9 MB, free: 12.84 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.5522, allocations: 140.5 kB / 467.1 MB, free: 12.68 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.5522, allocations: 4 kB / 467.1 MB, free: 12.68 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.5527, allocations: 27.97 kB / 467.1 MB, free: 12.65 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.5529, allocations: 35.91 kB / 467.1 MB, free: 12.61 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.553, allocations: 19.92 kB / 467.2 MB, free: 12.59 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0003018/0.5533, allocations: 192.7 kB / 467.4 MB, free: 12.41 MB / 363.1 MB Notification: Performance of sort global known variables: time 2.826e-06/0.5533, allocations: 0 / 467.4 MB, free: 12.41 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.001272/0.5546, allocations: 199.3 kB / 467.5 MB, free: 12.21 MB / 363.1 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.0002614/0.5549, allocations: 115.4 kB / 467.7 MB, free: 12.09 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.5567, allocations: 0.7663 MB / 468.4 MB, free: 11.28 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5567, allocations: 0 / 468.4 MB, free: 11.28 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005776/0.5573, allocations: 274.7 kB / 468.7 MB, free: 11 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.5579, allocations: 58.03 kB / 468.8 MB, free: 10.95 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.5599, allocations: 0.5278 MB / 469.3 MB, free: 10.39 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.5605, allocations: 0.8313 MB / 470.1 MB, free: 9.531 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.5607, allocations: 27.44 kB / 470.1 MB, free: 9.504 MB / 363.1 MB Notification: Performance of SimCode: time 3.206e-06/0.5607, allocations: 0 / 470.1 MB, free: 9.504 MB / 363.1 MB Notification: Performance of Templates: time 0.01516/0.5759, allocations: 6.335 MB / 476.5 MB, free: 3.203 MB / 363.1 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