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.001686/0.001686, allocations: 181.3 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.742/2.742, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001211/0.001211, allocations: 97.95 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0005, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4308, allocations: 47.58 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.6004, allocations: 83.43 MB / 459.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004474/0.601, allocations: 87.95 kB / 459.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03264/0.6336, allocations: 7.014 MB / 466.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.6337, allocations: 0 / 466.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.576e-05/0.6338, allocations: 8 kB / 466.3 MB, free: 6.043 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.002079/0.6358, allocations: 0.7218 MB / 467 MB, free: 5.262 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/0.6359, allocations: 8.031 kB / 467 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.6361, allocations: 56.38 kB / 467.1 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/0.637, allocations: 384 kB / 467.4 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.6371, allocations: 33.38 kB / 467.5 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.6373, allocations: 48.36 kB / 467.5 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.6387, allocations: 441.2 kB / 467.9 MB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.6387, allocations: 4.094 kB / 468 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-05/0.6388, allocations: 23.94 kB / 468 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.6388, allocations: 12 kB / 468 MB, free: 4.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.6401, allocations: 307.8 kB / 468.3 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.6443, allocations: 1.597 MB / 469.9 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.6453, allocations: 290.7 kB / 470.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.6459, allocations: 152.8 kB / 470.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.646, allocations: 8 kB / 470.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006912/0.6467, allocations: 240.2 kB / 470.6 MB, free: 1.512 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 3.897e-06/0.6467, allocations: 0 / 470.6 MB, free: 1.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.002666/0.6494, allocations: 0.5954 MB / 471.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/0.6496, allocations: 136.5 kB / 471.3 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009135/0.6505, allocations: 377.6 kB / 471.7 MB, free: 356 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.6506, allocations: 37.7 kB / 471.7 MB, free: 312 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.6509, allocations: 212.5 kB / 471.9 MB, free: 96 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.6511, allocations: 98.81 kB / 472 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.6512, allocations: 11.94 kB / 472 MB, free: 15.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.6514, allocations: 354.7 kB / 472.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.652, allocations: 120.8 kB / 472.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006312/0.6526, allocations: 243.8 kB / 472.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009505/0.6536, allocations: 357.1 kB / 473.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.6536, allocations: 0 / 473.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001603/0.6552, allocations: 489.4 kB / 473.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002521/0.6555, allocations: 224.1 kB / 473.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.6555, allocations: 4 kB / 473.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.6561, allocations: 84.75 kB / 473.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.6565, allocations: 55.91 kB / 473.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.6597, allocations: 1.827 MB / 475.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/0.6604, allocations: 59.66 kB / 475.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.6604, allocations: 16 kB / 475.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.6605, allocations: 4 kB / 475.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001156/0.6616, allocations: 403.4 kB / 476.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6617, allocations: 8 kB / 476.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/0.6621, allocations: 89.16 kB / 476.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.6623, allocations: 55.91 kB / 476.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.6657, allocations: 1.823 MB / 478.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006618/0.6664, allocations: 47.73 kB / 478.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.6665, allocations: 24.05 kB / 478.2 MB, free: 9.27 MB / 362.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 () * Number of clocked 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.0005647/0.6671, allocations: 251.2 kB / 478.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.6672, allocations: 43.53 kB / 478.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.6674, allocations: 44.09 kB / 478.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.6674, allocations: 4 kB / 478.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.6674, allocations: 0 / 478.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.6674, allocations: 7.922 kB / 478.6 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.6701, allocations: 0.9803 MB / 479.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.6701, allocations: 0 / 479.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.6704, allocations: 28.27 kB / 479.6 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.6708, allocations: 88.66 kB / 479.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.6709, allocations: 11.98 kB / 479.7 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.6737, allocations: 1.749 MB / 481.4 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6737, allocations: 4.031 kB / 481.4 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.6753, allocations: 0.571 MB / 482 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.6756, allocations: 140.5 kB / 482.2 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.907e-05/0.6758, allocations: 15.98 kB / 482.2 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/0.678, allocations: 31.92 kB / 482.2 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.6782, allocations: 39.94 kB / 482.2 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.6783, allocations: 16 kB / 482.3 MB, free: 5.008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006647/0.679, allocations: 263.2 kB / 482.5 MB, free: 4.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.679, allocations: 0 / 482.5 MB, free: 4.754 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001655/0.6807, allocations: 199.5 kB / 482.7 MB, free: 4.559 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) * Number of clocked states: 0 () * 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.0003032/0.681, allocations: 119.4 kB / 482.8 MB, free: 4.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.6836, allocations: 0.8883 MB / 483.7 MB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.6836, allocations: 0 / 483.7 MB, free: 3.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005072/0.6887, allocations: 291.4 kB / 484 MB, free: 3.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.69, allocations: 75.98 kB / 484.1 MB, free: 3.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.693, allocations: 0.9448 MB / 485 MB, free: 2.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.6938, allocations: 0.8196 MB / 485.8 MB, free: 1.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.694, allocations: 27.44 kB / 485.9 MB, free: 1.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.694, allocations: 3.938 kB / 485.9 MB, free: 1.273 MB / 362.7 MB Notification: Performance of Templates: time 0.01745/0.7115, allocations: 6.853 MB / 492.7 MB, free: 10.43 MB / 378.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