Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 197.4 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 226.5 MB / 245.4 MB, free: 6.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008896/0.0008895, allocations: 89.5 kB / 297.4 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000225/0.000225, allocations: 4 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2113, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09923/0.3106, allocations: 87.66 MB / 497.1 MB, free: 3.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.3109, allocations: 87.95 kB / 497.1 MB, free: 3.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0277/0.3386, allocations: 10.2 MB / 0.4954 GB, free: 9.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3386, allocations: 0 / 0.4954 GB, free: 9.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.986e-05/0.3387, allocations: 12 kB / 0.4955 GB, free: 9.484 MB / 378.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.001529/0.3402, allocations: 0.8261 MB / 0.4963 GB, free: 8.605 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3403, allocations: 12.03 kB / 0.4963 GB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3404, allocations: 60.28 kB / 0.4963 GB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.341, allocations: 408.5 kB / 0.4967 GB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.3411, allocations: 37.38 kB / 0.4968 GB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.188e-05/0.3412, allocations: 48.36 kB / 0.4968 GB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009487/0.3421, allocations: 0.5168 MB / 0.4973 GB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3422, allocations: 3.938 kB / 0.4973 GB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.3422, allocations: 20 kB / 0.4973 GB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3422, allocations: 12 kB / 0.4973 GB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.3431, allocations: 395.7 kB / 0.4977 GB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.3458, allocations: 1.792 MB / 0.4995 GB, free: 5.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.3469, allocations: 450.7 kB / 0.4999 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005815/0.3475, allocations: 260.7 kB / 0.5001 GB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.3476, allocations: 4 kB / 0.5001 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005804/0.3482, allocations: 304.6 kB / 0.5004 GB, free: 4.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.3482, allocations: 0 / 0.5004 GB, free: 4.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001748/0.3499, allocations: 0.7285 MB / 0.5012 GB, free: 3.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.35, allocations: 110.8 kB / 0.5013 GB, free: 3.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000427/0.3504, allocations: 377.7 kB / 0.5016 GB, free: 2.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.3505, allocations: 37.7 kB / 0.5017 GB, free: 2.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.3507, allocations: 248.3 kB / 0.5019 GB, free: 2.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3508, allocations: 126.2 kB / 0.502 GB, free: 2.457 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.3508, allocations: 12 kB / 0.502 GB, free: 2.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.351, allocations: 350.8 kB / 0.5024 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.3513, allocations: 153 kB / 0.5025 GB, free: 1.945 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.3518, allocations: 284.1 kB / 0.5028 GB, free: 1.617 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007793/0.3526, allocations: 446.6 kB / 0.5032 GB, free: 1.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3526, allocations: 0 / 0.5032 GB, free: 1.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001099/0.3537, allocations: 0.5615 MB / 0.5037 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.3539, allocations: 225.5 kB / 0.504 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3539, allocations: 0 / 0.504 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.3542, allocations: 80.73 kB / 0.504 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.3546, allocations: 91.89 kB / 0.5041 GB, free: 108 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1689/0.5235, allocations: 1.686 MB / 0.5058 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.524, allocations: 69.83 kB / 0.5058 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.5241, allocations: 19.38 kB / 0.5059 GB, free: 92.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.5241, allocations: 3.5 kB / 0.5059 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009898/0.5251, allocations: 484.4 kB / 0.5063 GB, free: 92.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5251, allocations: 3.906 kB / 0.5063 GB, free: 92.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.5254, allocations: 72.39 kB / 0.5064 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.5257, allocations: 87.59 kB / 0.5065 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.527, allocations: 1.705 MB / 0.5081 GB, free: 90.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.5274, allocations: 61.33 kB / 0.5082 GB, free: 90.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.5275, allocations: 19.12 kB / 0.5082 GB, free: 90.83 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.0002801/0.5277, allocations: 254.5 kB / 0.5085 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.5278, allocations: 46.72 kB / 0.5085 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009955/0.5288, allocations: 498.7 kB / 0.509 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5288, allocations: 4.562 kB / 0.509 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.5288, allocations: 0 / 0.509 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5289, allocations: 2.719 kB / 0.509 GB, free: 90.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.5304, allocations: 1.078 MB / 0.51 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5305, allocations: 4 kB / 0.51 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.5308, allocations: 73.83 kB / 0.5101 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.531, allocations: 68.83 kB / 0.5102 GB, free: 90.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.531, allocations: 11.94 kB / 0.5102 GB, free: 90.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.5322, allocations: 1.692 MB / 0.5118 GB, free: 88.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5322, allocations: 2.312 kB / 0.5119 GB, free: 88.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.5338, allocations: 0.7663 MB / 0.5126 GB, free: 88.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.534, allocations: 154.9 kB / 0.5127 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.534, allocations: 13.95 kB / 0.5128 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.5344, allocations: 53.05 kB / 0.5128 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.5345, allocations: 45.41 kB / 0.5129 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.5345, allocations: 12.78 kB / 0.5129 GB, free: 88.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002509/0.5348, allocations: 265.6 kB / 0.5131 GB, free: 88.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5348, allocations: 0 / 0.5131 GB, free: 88.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008479/0.5356, allocations: 236.4 kB / 0.5133 GB, free: 88.48 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.0001464/0.5358, allocations: 131.8 kB / 0.5135 GB, free: 88.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.5372, allocations: 0.9941 MB / 0.5144 GB, free: 87.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5372, allocations: 1.781 kB / 0.5144 GB, free: 87.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004597/0.5376, allocations: 360.4 kB / 0.5148 GB, free: 87.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.5382, allocations: 94.92 kB / 0.5149 GB, free: 87.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.5397, allocations: 1.228 MB / 0.5161 GB, free: 86.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.54, allocations: 0.8486 MB / 0.5169 GB, free: 86.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000207/0.5402, allocations: 57.61 kB / 0.517 GB, free: 86.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.5403, allocations: 38.5 kB / 0.517 GB, free: 86.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5403, allocations: 0 / 0.517 GB, free: 86.14 MB / 378.7 MB Notification: Performance of Templates: time 0.009613/0.5499, allocations: 6.743 MB / 0.5236 GB, free: 85.79 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches