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.001432/0.001432, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001719, allocations: 200 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 63.91 kB / 359.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2281, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.005303/0.2335, allocations: 4.164 MB / 414.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2356, allocations: 1.118 MB / 415.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/0.236, allocations: 11.94 kB / 415.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.2364, allocations: 103 kB / 415.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.2368, allocations: 146.8 kB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.2374, allocations: 235.5 kB / 415.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006477/0.238, allocations: 0.6933 MB / 416.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.2384, allocations: 268.2 kB / 416.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.2387, allocations: 251 kB / 417 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.239, allocations: 282.6 kB / 417.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.654e-05/0.2391, allocations: 68 kB / 417.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.2392, allocations: 60 kB / 417.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2393, allocations: 131.6 kB / 417.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.2395, allocations: 298.5 kB / 417.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.2402, allocations: 0.7017 MB / 418.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2402, allocations: 0 / 418.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.2402, allocations: 0 / 418.5 MB, free: 9.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2402, allocations: 0 / 418.5 MB, free: 9.059 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.001515/0.2418, allocations: 0.9102 MB / 419.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.2418, allocations: 11.97 kB / 419.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.2419, allocations: 68.19 kB / 419.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.2425, allocations: 412.6 kB / 419.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.2426, allocations: 41.3 kB / 419.9 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.2426, allocations: 48.38 kB / 420 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.2435, allocations: 0.5084 MB / 420.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2436, allocations: 0 / 420.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.2436, allocations: 16 kB / 420.5 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.2436, allocations: 12 kB / 420.5 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.2444, allocations: 371.7 kB / 420.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.2468, allocations: 1.737 MB / 422.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2478, allocations: 411.1 kB / 423 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.2484, allocations: 240.7 kB / 423.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.2484, allocations: 4 kB / 423.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005355/0.249, allocations: 280.6 kB / 423.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.973e-06/0.249, allocations: 3.938 kB / 423.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001747/0.2508, allocations: 0.705 MB / 424.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.2508, allocations: 118.8 kB / 424.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.2512, allocations: 385.5 kB / 424.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.2513, allocations: 37.7 kB / 424.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.2515, allocations: 248.3 kB / 425 MB, free: 2.227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.2516, allocations: 130.2 kB / 425.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.2518, allocations: 94.16 kB / 425.2 MB, free: 2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.252, allocations: 354.8 kB / 425.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.2525, allocations: 147 kB / 425.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.2531, allocations: 276.4 kB / 426 MB, free: 1.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009999/0.2541, allocations: 427.9 kB / 426.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2542, allocations: 0 / 426.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001294/0.2555, allocations: 0.54 MB / 426.9 MB, free: 152 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.2555, allocations: 44.38 kB / 427 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2555, allocations: 4 kB / 427 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.2558, allocations: 72.77 kB / 427 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.2561, allocations: 87.88 kB / 427.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.2578, allocations: 1.881 MB / 429 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.2582, allocations: 67.56 kB / 429.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.2582, allocations: 20 kB / 429.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004223/0.2586, allocations: 257.2 kB / 429.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003664/0.259, allocations: 256.5 kB / 429.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006289/0.2596, allocations: 406.7 kB / 430 MB, free: 12.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.917e-06/0.2597, allocations: 4 kB / 430 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0009229/0.2606, allocations: 0.5186 MB / 430.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.2606, allocations: 37.7 kB / 430.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2606, allocations: 4.438 kB / 430.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.2608, allocations: 72.81 kB / 430.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.2612, allocations: 83.89 kB / 430.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.2627, allocations: 1.877 MB / 432.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.2631, allocations: 51.66 kB / 432.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.2631, allocations: 20.06 kB / 432.7 MB, free: 10 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.0001582/0.2633, allocations: 222.3 kB / 432.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.2634, allocations: 47.47 kB / 432.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.2644, allocations: 478.8 kB / 433.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.2645, allocations: 7.922 kB / 433.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2645, allocations: 0 / 433.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.2646, allocations: 152.4 kB / 433.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-05/0.2647, allocations: 12.06 kB / 433.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.265, allocations: 35.95 kB / 433.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.2651, allocations: 43.89 kB / 433.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001347/0.2665, allocations: 0.5484 MB / 434.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001237/0.2677, allocations: 0.7424 MB / 434.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003379/0.2681, allocations: 155.9 kB / 435.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.2684, allocations: 263.2 kB / 435.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of Backend: time 2.2e-07/0.2684, allocations: 0 / 435.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.27, allocations: 0.9429 MB / 436.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of SimCode: time 0.001698/0.2717, allocations: 1.454 MB / 437.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of Templates: time 0.01427/0.286, allocations: 8.361 MB / 446.1 MB, free: 12.49 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