Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 176.4 kB / 17.4 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 241.4 MB, free: 9.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007558/0.0007558, allocations: 96.8 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 11.94 kB / 352.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2117, allocations: 50.41 MB / 402.8 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09469/0.3064, allocations: 85.93 MB / 488.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3067, allocations: 91.94 kB / 488.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02565/0.3324, allocations: 9.789 MB / 498.6 MB, free: 424 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3324, allocations: 0 / 498.6 MB, free: 424 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.615e-05/0.3325, allocations: 12 kB / 498.6 MB, free: 412 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001666/0.3341, allocations: 0.8069 MB / 499.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3342, allocations: 12.03 kB / 499.4 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.3344, allocations: 64.19 kB / 499.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007608/0.3352, allocations: 408.5 kB / 499.9 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.3352, allocations: 45.31 kB / 499.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.3353, allocations: 52.36 kB / 500 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.3364, allocations: 0.509 MB / 0.4887 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.3365, allocations: 3.938 kB / 0.4887 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.3365, allocations: 24 kB / 0.4888 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.3365, allocations: 12 kB / 0.4888 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/0.3374, allocations: 391.7 kB / 0.4892 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.3403, allocations: 1.788 MB / 0.4909 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.3415, allocations: 449.7 kB / 0.4913 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.342, allocations: 244.8 kB / 0.4916 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.3421, allocations: 8 kB / 0.4916 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005879/0.3427, allocations: 300.6 kB / 0.4919 GB, free: 11.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.878e-06/0.3427, allocations: 3.984 kB / 0.4919 GB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001736/0.3444, allocations: 0.7285 MB / 0.4926 GB, free: 10.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.3445, allocations: 106.8 kB / 0.4927 GB, free: 10.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.345, allocations: 377.6 kB / 0.493 GB, free: 9.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.345, allocations: 37.7 kB / 0.4931 GB, free: 9.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.3452, allocations: 244.3 kB / 0.4933 GB, free: 9.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.3453, allocations: 134.2 kB / 0.4934 GB, free: 9.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.3453, allocations: 8 kB / 0.4934 GB, free: 9.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3455, allocations: 354.8 kB / 0.4938 GB, free: 9.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.3458, allocations: 145 kB / 0.4939 GB, free: 8.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.3463, allocations: 292 kB / 0.4942 GB, free: 8.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.347, allocations: 443.1 kB / 0.4946 GB, free: 8.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.347, allocations: 0 / 0.4946 GB, free: 8.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001024/0.3481, allocations: 0.5463 MB / 0.4951 GB, free: 7.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.3482, allocations: 222.6 kB / 0.4954 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3482, allocations: 4 kB / 0.4954 GB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/0.3485, allocations: 72.81 kB / 0.4954 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.3488, allocations: 95.88 kB / 0.4955 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.3504, allocations: 1.702 MB / 0.4972 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.3508, allocations: 63.62 kB / 0.4972 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.3508, allocations: 20 kB / 0.4973 GB, free: 5.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.3509, allocations: 4 kB / 0.4973 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008711/0.3517, allocations: 481.5 kB / 0.4977 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3518, allocations: 4 kB / 0.4977 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.352, allocations: 77.22 kB / 0.4978 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.3523, allocations: 91.77 kB / 0.4979 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.3538, allocations: 1.698 MB / 0.4996 GB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.3541, allocations: 55.66 kB / 0.4996 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.3542, allocations: 20.06 kB / 0.4996 GB, free: 2.598 MB / 378.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_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$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 (50): * Single equations (assignments): 48 * 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.0003486/0.3545, allocations: 259.6 kB / 0.4999 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.348e-05/0.3546, allocations: 51.38 kB / 0.4999 GB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.3556, allocations: 486.9 kB / 0.5004 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3557, allocations: 4 kB / 0.5004 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.3557, allocations: 3.938 kB / 0.5004 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.3557, allocations: 4 kB / 0.5004 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.3575, allocations: 1.083 MB / 0.5015 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3575, allocations: 4 kB / 0.5015 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.3578, allocations: 75.95 kB / 0.5015 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.358, allocations: 68.81 kB / 0.5016 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.3581, allocations: 8 kB / 0.5016 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1589/0.517, allocations: 1.682 MB / 0.5032 GB, free: 96.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.517, allocations: 2 kB / 0.5032 GB, free: 96.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.5186, allocations: 0.7606 MB / 0.504 GB, free: 96.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.5188, allocations: 154.1 kB / 0.5041 GB, free: 96.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.5188, allocations: 13.45 kB / 0.5042 GB, free: 96.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.5192, allocations: 42.78 kB / 0.5042 GB, free: 96.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.5193, allocations: 47.48 kB / 0.5042 GB, free: 96.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.5194, allocations: 16.77 kB / 0.5043 GB, free: 96.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003291/0.5197, allocations: 263.2 kB / 0.5045 GB, free: 96.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5197, allocations: 0.75 kB / 0.5045 GB, free: 96.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009119/0.5206, allocations: 235.4 kB / 0.5047 GB, free: 96.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v) * 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_last,meanVoltage.y_last) * 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 (37): * Single equations (assignments): 30 * 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.0001627/0.5208, allocations: 126.7 kB / 0.5049 GB, free: 96.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.5225, allocations: 1 MB / 0.5058 GB, free: 95.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5225, allocations: 0.5 kB / 0.5058 GB, free: 95.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.5231, allocations: 361.6 kB / 0.5062 GB, free: 95.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005784/0.5237, allocations: 90.23 kB / 0.5063 GB, free: 95.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.5256, allocations: 1.218 MB / 0.5074 GB, free: 95.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.526, allocations: 0.8482 MB / 0.5083 GB, free: 94.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.5262, allocations: 52.75 kB / 0.5083 GB, free: 94.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.893e-05/0.5263, allocations: 36.09 kB / 0.5084 GB, free: 94.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5263, allocations: 0 / 0.5084 GB, free: 94.29 MB / 378.7 MB Notification: Performance of Templates: time 0.009852/0.5361, allocations: 6.675 MB / 0.5149 GB, free: 94 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_R/ChopperStepDown_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches