Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_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.001711/0.001711, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008391/0.000839, allocations: 96.38 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000196/0.000196, allocations: 8 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.189, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09466/0.2837, allocations: 87.86 MB / 497.3 MB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.284, allocations: 87.94 kB / 497.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02683/0.3108, allocations: 10.27 MB / 0.4958 GB, free: 8.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3109, allocations: 0 / 0.4958 GB, free: 8.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.426e-05/0.3109, allocations: 12 kB / 0.4958 GB, free: 8.32 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.001554/0.3125, allocations: 0.8358 MB / 0.4966 GB, free: 7.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3125, allocations: 8.031 kB / 0.4966 GB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.3127, allocations: 71.2 kB / 0.4967 GB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.3133, allocations: 399.5 kB / 0.497 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.3134, allocations: 37 kB / 0.4971 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.312e-05/0.3135, allocations: 48 kB / 0.4971 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009624/0.3145, allocations: 0.5045 MB / 0.4976 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3145, allocations: 0 / 0.4976 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.3145, allocations: 31.92 kB / 0.4976 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3146, allocations: 12 kB / 0.4977 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/0.3154, allocations: 391.8 kB / 0.498 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.3181, allocations: 1.784 MB / 0.4998 GB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.3192, allocations: 454.7 kB / 0.5002 GB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.3193, allocations: 8 kB / 0.5002 GB, free: 3.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006078/0.3199, allocations: 300.6 kB / 0.5005 GB, free: 3.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.294e-06/0.3199, allocations: 0 / 0.5005 GB, free: 3.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001729/0.3216, allocations: 0.7169 MB / 0.5012 GB, free: 2.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3217, allocations: 106.8 kB / 0.5013 GB, free: 2.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.3221, allocations: 340.8 kB / 0.5016 GB, free: 2.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.3221, allocations: 41.7 kB / 0.5017 GB, free: 1.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3223, allocations: 252.2 kB / 0.5019 GB, free: 1.727 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.3224, allocations: 130.2 kB / 0.502 GB, free: 1.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.3224, allocations: 8 kB / 0.502 GB, free: 1.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3226, allocations: 358.7 kB / 0.5024 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.323, allocations: 153 kB / 0.5025 GB, free: 1.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.3234, allocations: 288 kB / 0.5028 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.3238, allocations: 205.2 kB / 0.503 GB, free: 0.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3238, allocations: 0 / 0.503 GB, free: 0.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.154/0.4779, allocations: 0.5507 MB / 0.5035 GB, free: 92.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002907/0.4782, allocations: 1.333 MB / 0.5048 GB, free: 91.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.4782, allocations: 3.438 kB / 0.5048 GB, free: 91.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/0.4787, allocations: 74.5 kB / 0.5049 GB, free: 91.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.4792, allocations: 91.44 kB / 0.505 GB, free: 91.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.481, allocations: 1.714 MB / 0.5067 GB, free: 90 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.4815, allocations: 66.09 kB / 0.5067 GB, free: 90 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.4816, allocations: 21.72 kB / 0.5068 GB, free: 90 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.4816, allocations: 4.219 kB / 0.5068 GB, free: 90 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001049/0.4827, allocations: 485.2 kB / 0.5072 GB, free: 89.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.4827, allocations: 7.375 kB / 0.5072 GB, free: 89.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.4829, allocations: 69.38 kB / 0.5073 GB, free: 89.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.4833, allocations: 85.92 kB / 0.5074 GB, free: 89.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.4846, allocations: 1.711 MB / 0.509 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.485, allocations: 56.7 kB / 0.5091 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.485, allocations: 18.89 kB / 0.5091 GB, free: 88.63 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.0002984/0.4853, allocations: 262.4 kB / 0.5094 GB, free: 88.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/0.4854, allocations: 43.42 kB / 0.5094 GB, free: 88.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009759/0.4864, allocations: 488.6 kB / 0.5099 GB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4864, allocations: 4.125 kB / 0.5099 GB, free: 88.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4865, allocations: 3.953 kB / 0.5099 GB, free: 88.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4865, allocations: 3.391 kB / 0.5099 GB, free: 88.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.4881, allocations: 1.051 MB / 0.5109 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4881, allocations: 2.844 kB / 0.5109 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.4885, allocations: 71.89 kB / 0.511 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.4887, allocations: 71.25 kB / 0.5111 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.4887, allocations: 12.86 kB / 0.5111 GB, free: 88.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.49, allocations: 1.707 MB / 0.5127 GB, free: 86.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.49, allocations: 0 / 0.5127 GB, free: 86.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.4915, allocations: 0.7531 MB / 0.5135 GB, free: 86.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.4917, allocations: 154.8 kB / 0.5136 GB, free: 86.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.4918, allocations: 9.266 kB / 0.5136 GB, free: 86.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.4921, allocations: 46.62 kB / 0.5137 GB, free: 86.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.4923, allocations: 41.56 kB / 0.5137 GB, free: 86.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.4923, allocations: 10.11 kB / 0.5137 GB, free: 86.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003099/0.4926, allocations: 269.6 kB / 0.514 GB, free: 86.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4926, allocations: 1.344 kB / 0.514 GB, free: 86.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008856/0.4935, allocations: 235.2 kB / 0.5142 GB, free: 86.19 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,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.0001602/0.4937, allocations: 134 kB / 0.5143 GB, free: 86.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.4952, allocations: 1.01 MB / 0.5153 GB, free: 85.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4952, allocations: 0 / 0.5153 GB, free: 85.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.4956, allocations: 355.2 kB / 0.5157 GB, free: 85.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.4961, allocations: 93.19 kB / 0.5157 GB, free: 85.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.4978, allocations: 1.203 MB / 0.5169 GB, free: 84.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.498, allocations: 0.8612 MB / 0.5178 GB, free: 83.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.4983, allocations: 46.92 kB / 0.5178 GB, free: 83.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.4984, allocations: 39.05 kB / 0.5178 GB, free: 83.86 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4984, allocations: 0 / 0.5178 GB, free: 83.86 MB / 378.7 MB Notification: Performance of Templates: time 0.01031/0.5087, allocations: 6.588 MB / 0.5243 GB, free: 83.5 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins/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_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches