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.002104/0.002103, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 225.6 MB / 234.8 MB, free: 3.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008865/0.0008865, allocations: 93.78 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.897e-05, allocations: 4 kB / 343.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09616, allocations: 51.47 MB / 395.2 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3119/0.4081, allocations: 87.13 MB / 482.3 MB, free: 6.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.4083, allocations: 88.2 kB / 482.4 MB, free: 6.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02407/0.4324, allocations: 10.16 MB / 492.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4324, allocations: 4 kB / 492.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.571e-05/0.4325, allocations: 16 kB / 492.6 MB, free: 13.57 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.001313/0.4338, allocations: 0.7723 MB / 493.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.4338, allocations: 12.03 kB / 493.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.434, allocations: 66.86 kB / 493.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.4346, allocations: 393.8 kB / 493.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.4346, allocations: 15.81 kB / 493.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.781e-05/0.4347, allocations: 32 kB / 493.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005041/0.4352, allocations: 279.3 kB / 494.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.4359, allocations: 412.2 kB / 494.5 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4359, allocations: 4.594 kB / 494.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.4359, allocations: 7.984 kB / 494.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.436, allocations: 15.95 kB / 494.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.4384, allocations: 1.685 MB / 496.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.4392, allocations: 364.2 kB / 496.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.4395, allocations: 207.2 kB / 496.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.4396, allocations: 4 kB / 496.8 MB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.44, allocations: 237.1 kB / 497 MB, free: 9.766 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.44, allocations: 0 / 497 MB, free: 9.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005708/0.4406, allocations: 348.9 kB / 497.4 MB, free: 9.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.4406, allocations: 110.8 kB / 497.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.4409, allocations: 274.7 kB / 497.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.441, allocations: 29.7 kB / 497.8 MB, free: 9.113 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.4411, allocations: 255.9 kB / 498 MB, free: 8.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.912e-05/0.4412, allocations: 120.7 kB / 498.1 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.4412, allocations: 0 / 498.1 MB, free: 8.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4414, allocations: 352.2 kB / 498.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.4416, allocations: 100.6 kB / 498.6 MB, free: 8.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.4418, allocations: 226.6 kB / 498.8 MB, free: 8.199 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.442, allocations: 115.4 kB / 498.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.442, allocations: 0 / 498.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006356/0.4427, allocations: 418 kB / 499.3 MB, free: 7.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005604/0.4432, allocations: 1.338 MB / 0.4889 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4432, allocations: 4 kB / 0.4889 GB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002776/0.4435, allocations: 70.11 kB / 0.489 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.4439, allocations: 91.52 kB / 0.4891 GB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.4455, allocations: 1.639 MB / 0.4907 GB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/0.4458, allocations: 51.66 kB / 0.4907 GB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.4459, allocations: 18.31 kB / 0.4908 GB, free: 4.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.4459, allocations: 9.469 kB / 0.4908 GB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005816/0.4465, allocations: 341.2 kB / 0.4911 GB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4465, allocations: 4 kB / 0.4911 GB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.4467, allocations: 64.8 kB / 0.4912 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.447, allocations: 95.31 kB / 0.4912 GB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.4484, allocations: 1.621 MB / 0.4928 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.4487, allocations: 55.53 kB / 0.4929 GB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.4487, allocations: 19.25 kB / 0.4929 GB, free: 2.57 MB / 362.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.0001524/0.4489, allocations: 130.5 kB / 0.493 GB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.449, allocations: 43.52 kB / 0.4931 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.4496, allocations: 353.8 kB / 0.4934 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4496, allocations: 7.953 kB / 0.4934 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.4496, allocations: 0 / 0.4934 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4496, allocations: 0 / 0.4934 GB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.4508, allocations: 0.8943 MB / 0.4943 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4509, allocations: 3.984 kB / 0.4943 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.4512, allocations: 71.33 kB / 0.4944 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/0.4514, allocations: 68.56 kB / 0.4944 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.4514, allocations: 3.375 kB / 0.4944 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.4527, allocations: 1.622 MB / 0.496 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4527, allocations: 0 / 0.496 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.4535, allocations: 0.6072 MB / 0.4966 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.4537, allocations: 145 kB / 0.4967 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.4538, allocations: 7.609 kB / 0.4968 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.4541, allocations: 35.97 kB / 0.4968 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.4542, allocations: 42.69 kB / 0.4968 GB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.4543, allocations: 15.8 kB / 0.4968 GB, free: 15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002097/0.4545, allocations: 209.9 kB / 0.497 GB, free: 14.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4545, allocations: 0 / 0.497 GB, free: 14.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008441/0.4553, allocations: 219.1 kB / 0.4972 GB, free: 14.62 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.00016/0.4555, allocations: 120.9 kB / 0.4974 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.4566, allocations: 0.8428 MB / 0.4982 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4566, allocations: 1.625 kB / 0.4982 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.4569, allocations: 293.4 kB / 0.4985 GB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.4573, allocations: 75.67 kB / 0.4985 GB, free: 13.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.4586, allocations: 0.699 MB / 0.4992 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.459, allocations: 0.8636 MB / 0.5001 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.4592, allocations: 62.17 kB / 0.5001 GB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.4593, allocations: 34.56 kB / 0.5002 GB, free: 11.84 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4593, allocations: 0 / 0.5002 GB, free: 11.84 MB / 378.7 MB Notification: Performance of Templates: time 0.0114/0.4707, allocations: 6.327 MB / 0.5063 GB, free: 5.66 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