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.001529/0.001529, allocations: 196 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 226.5 MB / 245.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007761/0.0007762, allocations: 96.98 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000209/0.000209, allocations: 8 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1982, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0998/0.2981, allocations: 87.67 MB / 497.1 MB, free: 3.828 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.2984, allocations: 87.95 kB / 497.1 MB, free: 3.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02846/0.3269, allocations: 10.2 MB / 0.4955 GB, free: 9.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3269, allocations: 4 kB / 0.4955 GB, free: 9.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.713e-05/0.327, allocations: 15.98 kB / 0.4955 GB, free: 9.461 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.001637/0.3286, allocations: 0.8223 MB / 0.4963 GB, free: 8.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3287, allocations: 8.031 kB / 0.4963 GB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.3289, allocations: 64.28 kB / 0.4963 GB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.3296, allocations: 404.5 kB / 0.4967 GB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.3297, allocations: 37.38 kB / 0.4968 GB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.3298, allocations: 56.36 kB / 0.4968 GB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009842/0.3308, allocations: 0.5167 MB / 0.4973 GB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.3308, allocations: 3.938 kB / 0.4973 GB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.3309, allocations: 20 kB / 0.4973 GB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.3309, allocations: 12 kB / 0.4974 GB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/0.3318, allocations: 391.7 kB / 0.4977 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.3347, allocations: 1.792 MB / 0.4995 GB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.3358, allocations: 446.7 kB / 0.4999 GB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.3364, allocations: 252.7 kB / 0.5001 GB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.3365, allocations: 4 kB / 0.5002 GB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005872/0.337, allocations: 300.6 kB / 0.5004 GB, free: 4.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.595e-06/0.3371, allocations: 3.938 kB / 0.5004 GB, free: 4.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001728/0.3388, allocations: 0.7247 MB / 0.5012 GB, free: 3.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.3389, allocations: 110.8 kB / 0.5013 GB, free: 3.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.3394, allocations: 381.5 kB / 0.5016 GB, free: 2.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.3395, allocations: 37.7 kB / 0.5017 GB, free: 2.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.3397, allocations: 248.3 kB / 0.5019 GB, free: 2.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.3398, allocations: 130.2 kB / 0.502 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.3398, allocations: 11.94 kB / 0.502 GB, free: 2.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.34, allocations: 354.8 kB / 0.5024 GB, free: 2.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.3403, allocations: 149 kB / 0.5025 GB, free: 1.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.3408, allocations: 284.1 kB / 0.5028 GB, free: 1.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.3415, allocations: 446.5 kB / 0.5032 GB, free: 1.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.3416, allocations: 4 kB / 0.5032 GB, free: 1.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001052/0.3426, allocations: 0.5499 MB / 0.5037 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.3428, allocations: 225.4 kB / 0.504 GB, free: 280 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3428, allocations: 4 kB / 0.504 GB, free: 276 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.3431, allocations: 72.83 kB / 0.504 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.3435, allocations: 95.81 kB / 0.5041 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1691/0.5126, allocations: 1.684 MB / 0.5058 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.5131, allocations: 70.39 kB / 0.5058 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.5132, allocations: 24.7 kB / 0.5059 GB, free: 92.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.5132, allocations: 3.469 kB / 0.5059 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009838/0.5142, allocations: 480.8 kB / 0.5063 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5142, allocations: 3.531 kB / 0.5063 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.5144, allocations: 75.84 kB / 0.5064 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.5148, allocations: 84.67 kB / 0.5065 GB, free: 92.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.516, allocations: 1.694 MB / 0.5081 GB, free: 90.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.5164, allocations: 53.27 kB / 0.5082 GB, free: 90.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.5165, allocations: 17.48 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,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.0002896/0.5168, allocations: 262.2 kB / 0.5085 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.5168, allocations: 48.11 kB / 0.5085 GB, free: 90.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009798/0.5178, allocations: 485.3 kB / 0.509 GB, free: 90.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.5178, allocations: 4.375 kB / 0.509 GB, free: 90.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.5178, allocations: 1.281 kB / 0.509 GB, free: 90.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5179, allocations: 2.109 kB / 0.509 GB, free: 90.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.5194, allocations: 1.075 MB / 0.51 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5194, allocations: 3.375 kB / 0.51 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.5198, allocations: 68.62 kB / 0.5101 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002095/0.52, allocations: 70.33 kB / 0.5102 GB, free: 90.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.52, allocations: 12.59 kB / 0.5102 GB, free: 90.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.5213, allocations: 1.685 MB / 0.5118 GB, free: 88.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5213, allocations: 0.5625 kB / 0.5118 GB, free: 88.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.5228, allocations: 0.7552 MB / 0.5125 GB, free: 88.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.5229, allocations: 156.4 kB / 0.5127 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.523, allocations: 15.28 kB / 0.5127 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.5234, allocations: 41.09 kB / 0.5128 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.5235, allocations: 44.23 kB / 0.5128 GB, free: 88.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.5235, allocations: 15.09 kB / 0.5128 GB, free: 88.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002589/0.5238, allocations: 262.1 kB / 0.5131 GB, free: 88.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5238, allocations: 0 / 0.5131 GB, free: 88.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008389/0.5246, allocations: 241 kB / 0.5133 GB, free: 88.51 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.000163/0.5248, allocations: 128 kB / 0.5134 GB, free: 88.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.5262, allocations: 0.9929 MB / 0.5144 GB, free: 87.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5262, allocations: 0 / 0.5144 GB, free: 87.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.5267, allocations: 357.1 kB / 0.5147 GB, free: 87.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006059/0.5273, allocations: 87.81 kB / 0.5148 GB, free: 87.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.5288, allocations: 1.21 MB / 0.516 GB, free: 86.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.529, allocations: 0.8474 MB / 0.5168 GB, free: 86.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.5292, allocations: 53.72 kB / 0.5169 GB, free: 86.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.5293, allocations: 42.47 kB / 0.5169 GB, free: 86.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5293, allocations: 0 / 0.5169 GB, free: 86.19 MB / 378.7 MB Notification: Performance of Templates: time 0.009804/0.5391, allocations: 6.708 MB / 0.5235 GB, free: 85.83 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/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_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches