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.0009749/0.000975, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.507/1.507, allocations: 221.3 MB / 235.5 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008746/0.0008746, allocations: 89.88 kB / 286.5 MB, free: 212 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.945e-05, allocations: 4 kB / 343.8 MB, free: 4.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 50.41 MB / 394.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2829/0.3836, allocations: 85.8 MB / 480.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.3838, allocations: 91.77 kB / 480.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02548/0.4093, allocations: 9.773 MB / 489.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4094, allocations: 0 / 489.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.345e-05/0.4094, allocations: 15.98 kB / 489.9 MB, free: 7.777 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.001245/0.4107, allocations: 0.764 MB / 490.7 MB, free: 6.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.4107, allocations: 8.031 kB / 490.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.4108, allocations: 67.19 kB / 490.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.4114, allocations: 392.4 kB / 491.2 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.4114, allocations: 40.95 kB / 491.2 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/0.4115, allocations: 48 kB / 491.2 MB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.4123, allocations: 472.8 kB / 491.7 MB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.4123, allocations: 7.938 kB / 491.7 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.4124, allocations: 20 kB / 491.7 MB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.4124, allocations: 12 kB / 491.7 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005385/0.4129, allocations: 307.9 kB / 492 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002412/0.4154, allocations: 1.769 MB / 493.8 MB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.4162, allocations: 376.6 kB / 494.2 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.4166, allocations: 216.8 kB / 494.4 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.4166, allocations: 7.984 kB / 494.4 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004158/0.417, allocations: 264.6 kB / 494.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.4171, allocations: 0 / 494.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006419/0.4177, allocations: 365.3 kB / 495 MB, free: 2.445 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.4178, allocations: 110.8 kB / 495.1 MB, free: 2.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.4181, allocations: 319.5 kB / 495.4 MB, free: 1.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.4182, allocations: 37.7 kB / 495.5 MB, free: 1.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.4183, allocations: 248.3 kB / 495.7 MB, free: 1.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.4185, allocations: 126.2 kB / 495.8 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.4185, allocations: 4 kB / 495.8 MB, free: 1.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4186, allocations: 358.8 kB / 496.2 MB, free: 1.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.4188, allocations: 109.1 kB / 496.3 MB, free: 1.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.4191, allocations: 236.1 kB / 496.5 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.4194, allocations: 158.9 kB / 496.7 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4194, allocations: 0 / 496.7 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007108/0.4201, allocations: 490.5 kB / 497.2 MB, free: 172 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004809/0.4206, allocations: 1.333 MB / 498.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4206, allocations: 4 kB / 498.5 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.4208, allocations: 68.83 kB / 498.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.4212, allocations: 95.81 kB / 498.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.4228, allocations: 1.69 MB / 0.4886 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.4231, allocations: 63.72 kB / 0.4887 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.4232, allocations: 20 kB / 0.4887 GB, free: 12.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.4232, allocations: 9.547 kB / 0.4887 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006469/0.4239, allocations: 421.7 kB / 0.4891 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4239, allocations: 4.406 kB / 0.4891 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.4241, allocations: 80.84 kB / 0.4892 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.4244, allocations: 83.89 kB / 0.4893 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.4258, allocations: 1.694 MB / 0.4909 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.4261, allocations: 59.7 kB / 0.491 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.4262, allocations: 16 kB / 0.491 GB, free: 10.15 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 () * 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.0001299/0.4263, allocations: 139.1 kB / 0.4911 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.4264, allocations: 43.53 kB / 0.4912 GB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/0.427, allocations: 394.6 kB / 0.4916 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4271, allocations: 11.95 kB / 0.4916 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.4271, allocations: 4 kB / 0.4916 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4271, allocations: 3.984 kB / 0.4916 GB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.4284, allocations: 0.9804 MB / 0.4925 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4284, allocations: 0 / 0.4925 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.4288, allocations: 79.94 kB / 0.4926 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/0.429, allocations: 76.78 kB / 0.4927 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.429, allocations: 8 kB / 0.4927 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.4304, allocations: 1.675 MB / 0.4943 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4304, allocations: 4.031 kB / 0.4943 GB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008734/0.4313, allocations: 0.6443 MB / 0.495 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.4315, allocations: 152.6 kB / 0.4951 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.4315, allocations: 15.98 kB / 0.4951 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.4319, allocations: 39.97 kB / 0.4952 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.432, allocations: 39.94 kB / 0.4952 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.432, allocations: 19.98 kB / 0.4952 GB, free: 5.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002572/0.4323, allocations: 250.1 kB / 0.4955 GB, free: 5.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4323, allocations: 0 / 0.4955 GB, free: 5.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007342/0.433, allocations: 235.3 kB / 0.4957 GB, free: 5.09 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) * 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.000161/0.4332, allocations: 128 kB / 0.4958 GB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.4344, allocations: 0.906 MB / 0.4967 GB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4344, allocations: 4.25 kB / 0.4967 GB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.4348, allocations: 306.2 kB / 0.497 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.4353, allocations: 74.86 kB / 0.4971 GB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.4366, allocations: 0.7249 MB / 0.4978 GB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.437, allocations: 0.8602 MB / 0.4986 GB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00028/0.4373, allocations: 71.42 kB / 0.4987 GB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/0.4373, allocations: 31.42 kB / 0.4987 GB, free: 1.871 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4373, allocations: 0 / 0.4987 GB, free: 1.871 MB / 378.7 MB Notification: Performance of Templates: time 0.01214/0.4495, allocations: 7.057 MB / 0.5056 GB, free: 10.91 MB / 394.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