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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2209, allocations: 50.55 MB / 410 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.005681/0.2266, allocations: 4.16 MB / 414.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.2284, allocations: 1.11 MB / 415.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.2287, allocations: 15.88 kB / 415.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.2289, allocations: 99.02 kB / 415.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.2292, allocations: 134.7 kB / 415.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.2298, allocations: 247.5 kB / 415.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006312/0.2304, allocations: 0.6972 MB / 416.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.2308, allocations: 260.2 kB / 416.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.2311, allocations: 251 kB / 416.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.2314, allocations: 278.7 kB / 417.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.2315, allocations: 64 kB / 417.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.2316, allocations: 60 kB / 417.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.2317, allocations: 143.5 kB / 417.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.232, allocations: 298.5 kB / 417.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.2326, allocations: 0.6939 MB / 418.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2326, allocations: 0 / 418.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2326, allocations: 0 / 418.5 MB, free: 9.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.2326, allocations: 0 / 418.5 MB, free: 9.102 MB / 334.1 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.001565/0.2342, allocations: 0.9102 MB / 419.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2342, allocations: 8.031 kB / 419.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2344, allocations: 68.19 kB / 419.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.235, allocations: 420.5 kB / 419.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.235, allocations: 33.38 kB / 419.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.149e-05/0.2351, allocations: 52.36 kB / 419.9 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008974/0.236, allocations: 0.5122 MB / 420.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2361, allocations: 0 / 420.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.2361, allocations: 20 kB / 420.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.2361, allocations: 12 kB / 420.5 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007951/0.2369, allocations: 367.7 kB / 420.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.2393, allocations: 1.733 MB / 422.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.2403, allocations: 413.6 kB / 423 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005399/0.2409, allocations: 240.6 kB / 423.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.2409, allocations: 11.97 kB / 423.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000541/0.2415, allocations: 284.6 kB / 423.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.2415, allocations: 0 / 423.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.00174/0.2432, allocations: 0.6972 MB / 424.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.2433, allocations: 122.7 kB / 424.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.2437, allocations: 385.5 kB / 424.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.2438, allocations: 41.64 kB / 424.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.244, allocations: 244.3 kB / 425 MB, free: 2.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.2441, allocations: 130.2 kB / 425.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.2443, allocations: 94.16 kB / 425.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2444, allocations: 354.8 kB / 425.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.2448, allocations: 147 kB / 425.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.2452, allocations: 276.5 kB / 426 MB, free: 1.211 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007195/0.246, allocations: 427.9 kB / 426.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.246, allocations: 0 / 426.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009945/0.247, allocations: 0.5473 MB / 426.9 MB, free: 184 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.247, allocations: 38.12 kB / 427 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.247, allocations: 4 kB / 427 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.2473, allocations: 80.75 kB / 427 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.2477, allocations: 87.95 kB / 427.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.2494, allocations: 1.869 MB / 429 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.2497, allocations: 67.56 kB / 429.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.2498, allocations: 20 kB / 429.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004215/0.2502, allocations: 257.2 kB / 429.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003823/0.2506, allocations: 260.5 kB / 429.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006398/0.2512, allocations: 402.8 kB / 430 MB, free: 12.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.2512, allocations: 3.938 kB / 430 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0009226/0.2522, allocations: 0.5186 MB / 430.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.2522, allocations: 37.7 kB / 430.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.2522, allocations: 0 / 430.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.2524, allocations: 69.25 kB / 430.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.2527, allocations: 87.89 kB / 430.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.2544, allocations: 1.886 MB / 432.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.2547, allocations: 51.66 kB / 432.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.2548, allocations: 16 kB / 432.6 MB, free: 10.04 MB / 350.1 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 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y_last,$PRE.meanCurrent.y_last,meanVoltage.y_last,$PRE.meanVoltage.y_last,$whenCondition2,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,chopperStepUp.diode.off,chopperStepUp.transistor.off,chopperStepUp.andCondition_p.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.2549, allocations: 234.3 kB / 432.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.255, allocations: 39.53 kB / 432.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.2561, allocations: 486.7 kB / 433.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2561, allocations: 3.984 kB / 433.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2561, allocations: 0 / 433.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.2563, allocations: 156.4 kB / 433.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.099e-05/0.2563, allocations: 8 kB / 433.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.2566, allocations: 39.95 kB / 433.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.2567, allocations: 35.89 kB / 433.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001312/0.2581, allocations: 0.5481 MB / 434.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001215/0.2593, allocations: 0.7424 MB / 434.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003394/0.2596, allocations: 155.9 kB / 435.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.2599, allocations: 267.2 kB / 435.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of Backend: time 4.21e-07/0.2599, allocations: 0 / 435.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.2616, allocations: 0.9361 MB / 436.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of SimCode: time 0.001708/0.2633, allocations: 1.454 MB / 437.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of Templates: time 0.01385/0.2772, allocations: 8.361 MB / 446.1 MB, free: 12.53 MB / 366.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches