Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 180.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009517/0.0009518, allocations: 95.72 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002635, allocations: 11.94 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2117, allocations: 50.4 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09841/0.3102, allocations: 85.88 MB / 487.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.3105, allocations: 87.95 kB / 487.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02636/0.3368, allocations: 9.792 MB / 497.3 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3369, allocations: 0 / 497.3 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.627e-05/0.3369, allocations: 12 kB / 497.3 MB, free: 0.6289 MB / 362.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.001602/0.3385, allocations: 0.8212 MB / 498.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3386, allocations: 8.031 kB / 498.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.3387, allocations: 63.25 kB / 498.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.3393, allocations: 395.5 kB / 498.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.3394, allocations: 40.95 kB / 498.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-05/0.3395, allocations: 48 kB / 498.6 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.3405, allocations: 0.5123 MB / 499.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3406, allocations: 0 / 499.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.3406, allocations: 27.98 kB / 499.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.3407, allocations: 12 kB / 499.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000809/0.3415, allocations: 387.7 kB / 499.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.3441, allocations: 1.776 MB / 0.4896 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.3452, allocations: 434.8 kB / 0.49 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.3453, allocations: 8 kB / 0.49 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005729/0.3459, allocations: 308.5 kB / 0.4903 GB, free: 11.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.3459, allocations: 0 / 0.4903 GB, free: 11.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001702/0.3476, allocations: 0.7131 MB / 0.491 GB, free: 10.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.3477, allocations: 110.8 kB / 0.4911 GB, free: 10.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.3481, allocations: 332.7 kB / 0.4914 GB, free: 10.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.3481, allocations: 41.7 kB / 0.4915 GB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.3483, allocations: 248.3 kB / 0.4917 GB, free: 10.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.3485, allocations: 134.1 kB / 0.4918 GB, free: 9.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.3485, allocations: 8 kB / 0.4918 GB, free: 9.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3486, allocations: 354.7 kB / 0.4922 GB, free: 9.598 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.349, allocations: 153 kB / 0.4923 GB, free: 9.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.3494, allocations: 282.9 kB / 0.4926 GB, free: 9.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.3498, allocations: 197.6 kB / 0.4928 GB, free: 8.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3499, allocations: 0 / 0.4928 GB, free: 8.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001043/0.3509, allocations: 0.5551 MB / 0.4933 GB, free: 8.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004565/0.3514, allocations: 1.343 MB / 0.4946 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3514, allocations: 8 kB / 0.4946 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.3517, allocations: 72.77 kB / 0.4947 GB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.3521, allocations: 91.88 kB / 0.4948 GB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.3537, allocations: 1.718 MB / 0.4965 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.3542, allocations: 67.62 kB / 0.4965 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.3542, allocations: 20 kB / 0.4966 GB, free: 4.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.3542, allocations: 4 kB / 0.4966 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008819/0.3551, allocations: 482.1 kB / 0.497 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3551, allocations: 4 kB / 0.497 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.3553, allocations: 68.81 kB / 0.4971 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.3557, allocations: 87.83 kB / 0.4972 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.3573, allocations: 1.706 MB / 0.4988 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.3577, allocations: 59.78 kB / 0.4989 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.3578, allocations: 20 kB / 0.4989 GB, free: 2.234 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.000359/0.3581, allocations: 263.2 kB / 0.4992 GB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.3582, allocations: 47.52 kB / 0.4992 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009559/0.3592, allocations: 474.8 kB / 0.4997 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3592, allocations: 11.95 kB / 0.4997 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3592, allocations: 0 / 0.4997 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3592, allocations: 3.984 kB / 0.4997 GB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.3609, allocations: 1.045 MB / 0.5007 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3609, allocations: 3.938 kB / 0.5007 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.3612, allocations: 71.89 kB / 0.5008 GB, free: 256 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.3614, allocations: 80.75 kB / 0.5009 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.3615, allocations: 11.98 kB / 0.5009 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1609/0.5224, allocations: 1.684 MB / 0.5025 GB, free: 96.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5224, allocations: 0.875 kB / 0.5025 GB, free: 96.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.5239, allocations: 0.7598 MB / 0.5033 GB, free: 96.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.5241, allocations: 155.2 kB / 0.5034 GB, free: 96.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.5242, allocations: 14.12 kB / 0.5034 GB, free: 96.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.5246, allocations: 45.56 kB / 0.5035 GB, free: 96.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.5247, allocations: 41.3 kB / 0.5035 GB, free: 96.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.5247, allocations: 14.05 kB / 0.5035 GB, free: 96.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002951/0.525, allocations: 259.4 kB / 0.5038 GB, free: 96.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5251, allocations: 0 / 0.5038 GB, free: 96.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000861/0.5259, allocations: 232.4 kB / 0.504 GB, free: 96.3 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.0001598/0.5261, allocations: 135 kB / 0.5041 GB, free: 96.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.5278, allocations: 1.003 MB / 0.5051 GB, free: 95.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.5278, allocations: 0.7188 kB / 0.5051 GB, free: 95.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006469/0.5285, allocations: 341.6 kB / 0.5054 GB, free: 95.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.529, allocations: 79.3 kB / 0.5055 GB, free: 95.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.5309, allocations: 1.198 MB / 0.5067 GB, free: 95.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.5312, allocations: 0.8654 MB / 0.5075 GB, free: 94.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.5315, allocations: 48.36 kB / 0.5076 GB, free: 94.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.223e-05/0.5316, allocations: 35.88 kB / 0.5076 GB, free: 94.44 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5316, allocations: 0 / 0.5076 GB, free: 94.44 MB / 378.7 MB Notification: Performance of Templates: time 0.009644/0.5412, allocations: 6.524 MB / 0.514 GB, free: 94.14 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches