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.00103/0.00103, allocations: 203 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.206/1.206, allocations: 227.2 MB / 245 MB, free: 5.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008402/0.0008402, allocations: 94.91 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002006/0.0002006, allocations: 8 kB / 358 MB, free: 9.293 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1841, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09337/0.2775, allocations: 87.84 MB / 497.3 MB, free: 2.742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.2778, allocations: 87.94 kB / 497.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02576/0.3036, allocations: 10.28 MB / 0.4957 GB, free: 8.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3036, allocations: 0 / 0.4957 GB, free: 8.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.162e-05/0.3036, allocations: 12 kB / 0.4958 GB, free: 8.312 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.001328/0.305, allocations: 0.832 MB / 0.4966 GB, free: 7.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.305, allocations: 12.03 kB / 0.4966 GB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.3051, allocations: 71.2 kB / 0.4966 GB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.3057, allocations: 387.6 kB / 0.497 GB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.3057, allocations: 37 kB / 0.497 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.3058, allocations: 51.98 kB / 0.4971 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/0.3067, allocations: 0.5045 MB / 0.4976 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3067, allocations: 0 / 0.4976 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.3067, allocations: 20 kB / 0.4976 GB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.3068, allocations: 12 kB / 0.4976 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007924/0.3075, allocations: 395.7 kB / 0.498 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.3099, allocations: 1.8 MB / 0.4998 GB, free: 4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.311, allocations: 458.8 kB / 0.5002 GB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.3111, allocations: 4 kB / 0.5002 GB, free: 3.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005545/0.3116, allocations: 300.6 kB / 0.5005 GB, free: 3.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.777e-06/0.3117, allocations: 0 / 0.5005 GB, free: 3.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001604/0.3133, allocations: 0.7208 MB / 0.5012 GB, free: 2.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.3133, allocations: 110.8 kB / 0.5013 GB, free: 2.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.3137, allocations: 340.8 kB / 0.5016 GB, free: 2.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.3138, allocations: 37.7 kB / 0.5017 GB, free: 1.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.314, allocations: 256.3 kB / 0.5019 GB, free: 1.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.891e-05/0.3141, allocations: 138.1 kB / 0.502 GB, free: 1.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.3141, allocations: 4 kB / 0.502 GB, free: 1.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3142, allocations: 358.8 kB / 0.5024 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.3146, allocations: 153 kB / 0.5025 GB, free: 1.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.315, allocations: 284.1 kB / 0.5028 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.3154, allocations: 201.2 kB / 0.503 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3154, allocations: 4 kB / 0.503 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.1592/0.4747, allocations: 0.5498 MB / 0.5035 GB, free: 92.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.475, allocations: 1.334 MB / 0.5048 GB, free: 91.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.475, allocations: 3.688 kB / 0.5048 GB, free: 91.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/0.4754, allocations: 74.5 kB / 0.5049 GB, free: 91.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.4758, allocations: 93.23 kB / 0.505 GB, free: 91.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.4774, allocations: 1.716 MB / 0.5067 GB, free: 89.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.4779, allocations: 68.42 kB / 0.5067 GB, free: 89.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.4779, allocations: 20.31 kB / 0.5068 GB, free: 89.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.4779, allocations: 3.094 kB / 0.5068 GB, free: 89.96 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/0.479, allocations: 482.7 kB / 0.5072 GB, free: 89.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.479, allocations: 3.75 kB / 0.5072 GB, free: 89.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/0.4792, allocations: 72.7 kB / 0.5073 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.4796, allocations: 85.44 kB / 0.5074 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.4809, allocations: 1.716 MB / 0.509 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.4813, allocations: 55.33 kB / 0.5091 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.4813, allocations: 22.83 kB / 0.5091 GB, free: 88.59 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.0002897/0.4816, allocations: 266.5 kB / 0.5094 GB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.742e-05/0.4817, allocations: 49.53 kB / 0.5094 GB, free: 88.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009641/0.4827, allocations: 490.5 kB / 0.5099 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4827, allocations: 3.594 kB / 0.5099 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4827, allocations: 5.734 kB / 0.5099 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.4827, allocations: 5.391 kB / 0.5099 GB, free: 88.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.4843, allocations: 1.053 MB / 0.5109 GB, free: 88.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4843, allocations: 1.188 kB / 0.5109 GB, free: 88.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.4847, allocations: 76.22 kB / 0.511 GB, free: 88.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.4848, allocations: 63.59 kB / 0.5111 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.4849, allocations: 18.03 kB / 0.5111 GB, free: 88.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.4861, allocations: 1.703 MB / 0.5127 GB, free: 86.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4862, allocations: 0.5312 kB / 0.5127 GB, free: 86.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.4876, allocations: 0.7695 MB / 0.5135 GB, free: 86.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.4878, allocations: 150.4 kB / 0.5136 GB, free: 86.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.4878, allocations: 13.7 kB / 0.5137 GB, free: 86.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.4882, allocations: 39.56 kB / 0.5137 GB, free: 86.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.4883, allocations: 45.73 kB / 0.5137 GB, free: 86.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.4883, allocations: 16 kB / 0.5138 GB, free: 86.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002346/0.4885, allocations: 262.2 kB / 0.514 GB, free: 86.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4886, allocations: 1.031 kB / 0.514 GB, free: 86.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008218/0.4894, allocations: 242.4 kB / 0.5142 GB, free: 86.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001528/0.4895, allocations: 136.3 kB / 0.5144 GB, free: 86.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.4909, allocations: 1.005 MB / 0.5153 GB, free: 85.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4909, allocations: 0 / 0.5153 GB, free: 85.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004368/0.4914, allocations: 359.4 kB / 0.5157 GB, free: 85.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.4918, allocations: 89.09 kB / 0.5158 GB, free: 85.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.4933, allocations: 1.218 MB / 0.517 GB, free: 84.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.4935, allocations: 0.8636 MB / 0.5178 GB, free: 83.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.4938, allocations: 52.55 kB / 0.5179 GB, free: 83.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.4938, allocations: 34.23 kB / 0.5179 GB, free: 83.81 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.4939, allocations: 0 / 0.5179 GB, free: 83.81 MB / 378.7 MB Notification: Performance of Templates: time 0.009396/0.5033, allocations: 6.643 MB / 0.5244 GB, free: 83.45 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/jenkins/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