Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_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.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009809/0.0009809, allocations: 195.1 kB / 18.07 MB, free: 3.652 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.5 MB / 245.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007266/0.0007267, allocations: 92.41 kB / 297.4 MB, free: 6.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002127/0.0002128, allocations: 8 kB / 357.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1925, allocations: 51.29 MB / 408.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09718/0.2897, allocations: 87.67 MB / 496.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.29, allocations: 91.94 kB / 496.4 MB, free: 3.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0262/0.3162, allocations: 10.2 MB / 0.4948 GB, free: 9.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3162, allocations: 0 / 0.4948 GB, free: 9.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.745e-05/0.3162, allocations: 16 kB / 0.4948 GB, free: 9.516 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.001332/0.3176, allocations: 0.8262 MB / 0.4956 GB, free: 8.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3176, allocations: 8.031 kB / 0.4956 GB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.3177, allocations: 64.27 kB / 0.4957 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.3183, allocations: 408.5 kB / 0.496 GB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.3183, allocations: 33.38 kB / 0.4961 GB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.3184, allocations: 52.31 kB / 0.4961 GB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009012/0.3193, allocations: 0.5129 MB / 0.4966 GB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.3193, allocations: 7.922 kB / 0.4966 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.3194, allocations: 20 kB / 0.4966 GB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3194, allocations: 16 kB / 0.4967 GB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008224/0.3202, allocations: 387.7 kB / 0.497 GB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.3227, allocations: 1.796 MB / 0.4988 GB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.3238, allocations: 446.7 kB / 0.4992 GB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.3243, allocations: 256.7 kB / 0.4995 GB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.3244, allocations: 4 kB / 0.4995 GB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000552/0.3249, allocations: 300.6 kB / 0.4997 GB, free: 4.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.325, allocations: 3.938 kB / 0.4998 GB, free: 4.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001727/0.3267, allocations: 0.7286 MB / 0.5005 GB, free: 3.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.3268, allocations: 106.8 kB / 0.5006 GB, free: 3.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.3272, allocations: 381.5 kB / 0.5009 GB, free: 2.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.3272, allocations: 37.7 kB / 0.501 GB, free: 2.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.3274, allocations: 244.3 kB / 0.5012 GB, free: 2.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3275, allocations: 130.2 kB / 0.5013 GB, free: 2.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.3275, allocations: 8 kB / 0.5013 GB, free: 2.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3277, allocations: 358.8 kB / 0.5017 GB, free: 2.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.328, allocations: 153 kB / 0.5018 GB, free: 1.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.3285, allocations: 280.1 kB / 0.5021 GB, free: 1.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007621/0.3293, allocations: 442.6 kB / 0.5025 GB, free: 1.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3293, allocations: 4 kB / 0.5025 GB, free: 1.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001035/0.3303, allocations: 0.5498 MB / 0.503 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.3305, allocations: 226.6 kB / 0.5033 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.3305, allocations: 4 kB / 0.5033 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/0.3307, allocations: 68.77 kB / 0.5033 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.3311, allocations: 95.88 kB / 0.5034 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1505/0.4816, allocations: 1.692 MB / 0.5051 GB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.4821, allocations: 63.94 kB / 0.5051 GB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.4821, allocations: 18.14 kB / 0.5052 GB, free: 92.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.4821, allocations: 5.125 kB / 0.5052 GB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009409/0.4831, allocations: 484.4 kB / 0.5056 GB, free: 92.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.4831, allocations: 4.406 kB / 0.5056 GB, free: 92.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.4833, allocations: 69.77 kB / 0.5057 GB, free: 92.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.4837, allocations: 90.91 kB / 0.5058 GB, free: 92.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.4849, allocations: 1.693 MB / 0.5074 GB, free: 90.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.4853, allocations: 59 kB / 0.5075 GB, free: 90.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.4853, allocations: 21.75 kB / 0.5075 GB, free: 90.84 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,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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.0002533/0.4856, allocations: 262.8 kB / 0.5078 GB, free: 90.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.4857, allocations: 44.44 kB / 0.5078 GB, free: 90.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009333/0.4866, allocations: 486.3 kB / 0.5083 GB, free: 90.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4866, allocations: 5.797 kB / 0.5083 GB, free: 90.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.4866, allocations: 0 / 0.5083 GB, free: 90.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.4866, allocations: 1.781 kB / 0.5083 GB, free: 90.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.4882, allocations: 1.078 MB / 0.5093 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4882, allocations: 0 / 0.5093 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.4886, allocations: 69.36 kB / 0.5094 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.4888, allocations: 69.09 kB / 0.5095 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.4888, allocations: 9.531 kB / 0.5095 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.4901, allocations: 1.687 MB / 0.5111 GB, free: 88.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4901, allocations: 1.625 kB / 0.5111 GB, free: 88.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.4915, allocations: 0.758 MB / 0.5119 GB, free: 88.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.4917, allocations: 151.5 kB / 0.512 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.4918, allocations: 16.72 kB / 0.512 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.4921, allocations: 42.36 kB / 0.5121 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.4922, allocations: 44.52 kB / 0.5121 GB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.4922, allocations: 14.38 kB / 0.5121 GB, free: 88.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002352/0.4925, allocations: 260.4 kB / 0.5124 GB, free: 88.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4925, allocations: 5.25 kB / 0.5124 GB, free: 88.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007912/0.4933, allocations: 240.1 kB / 0.5126 GB, free: 88.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductor.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.fire_p,chopperStepUp.transistor.off,chopperStepUp.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 (36): * Single equations (assignments): 29 * 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.0001498/0.4934, allocations: 124.2 kB / 0.5127 GB, free: 88.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.4947, allocations: 0.9872 MB / 0.5137 GB, free: 87.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4948, allocations: 5.938 kB / 0.5137 GB, free: 87.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.4952, allocations: 355.5 kB / 0.514 GB, free: 87.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.4957, allocations: 88.12 kB / 0.5141 GB, free: 87.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.4972, allocations: 1.242 MB / 0.5153 GB, free: 86.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.4974, allocations: 0.8468 MB / 0.5161 GB, free: 86.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.851e-05/0.4975, allocations: 34.09 kB / 0.5162 GB, free: 86.17 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.4975, allocations: 0 / 0.5162 GB, free: 86.17 MB / 378.7 MB Notification: Performance of Templates: time 0.007301/0.5048, allocations: 7.989 MB / 0.524 GB, free: 84.93 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches