Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 116.1 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.413/1.413, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=10000,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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00309/0.00309, allocations: 67.83 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2341, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.005779/0.2399, allocations: 4.219 MB / 436.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2418, allocations: 1.137 MB / 437.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.242, allocations: 11.94 kB / 437.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.2422, allocations: 98.97 kB / 437.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.2425, allocations: 142.8 kB / 437.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.2431, allocations: 243.5 kB / 438 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007358/0.2438, allocations: 0.6933 MB / 438.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.2441, allocations: 188.2 kB / 438.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.2444, allocations: 247 kB / 439.1 MB, free: 388 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.2447, allocations: 282.7 kB / 439.3 MB, free: 104 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.427e-05/0.2448, allocations: 63.94 kB / 439.4 MB, free: 40 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.2449, allocations: 60.05 kB / 439.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.2451, allocations: 135.5 kB / 439.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.2454, allocations: 302.5 kB / 439.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007352/0.2461, allocations: 0.6979 MB / 440.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2461, allocations: 0 / 440.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2461, allocations: 3.938 kB / 440.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2461, allocations: 0 / 440.6 MB, free: 14.85 MB / 350.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.001795/0.2479, allocations: 1.005 MB / 441.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2479, allocations: 12.03 kB / 441.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2481, allocations: 64.56 kB / 441.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006532/0.2487, allocations: 432.8 kB / 442.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.2488, allocations: 37.38 kB / 442.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.2488, allocations: 52.31 kB / 442.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009526/0.2498, allocations: 0.5123 MB / 442.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.2498, allocations: 0 / 442.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/0.2499, allocations: 16 kB / 442.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.2499, allocations: 12 kB / 442.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008447/0.2507, allocations: 363.7 kB / 443.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.2533, allocations: 1.745 MB / 444.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.2544, allocations: 390.8 kB / 445.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.2549, allocations: 224.7 kB / 445.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.255, allocations: 4 kB / 445.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005746/0.2556, allocations: 291.6 kB / 445.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.774e-06/0.2556, allocations: 4 kB / 445.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001823/0.2574, allocations: 0.7014 MB / 446.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.2574, allocations: 114.8 kB / 446.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.2579, allocations: 385.6 kB / 446.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.2579, allocations: 37.7 kB / 446.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.2581, allocations: 252.6 kB / 447.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.2583, allocations: 134.9 kB / 447.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.2584, allocations: 98.23 kB / 447.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2586, allocations: 346.8 kB / 447.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.2589, allocations: 155 kB / 447.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.2594, allocations: 272.5 kB / 448.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007917/0.2602, allocations: 431.9 kB / 448.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2602, allocations: 0 / 448.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001075/0.2613, allocations: 0.5321 MB / 449.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.2613, allocations: 33.7 kB / 449.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2613, allocations: 4 kB / 449.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.2616, allocations: 81.19 kB / 449.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.2619, allocations: 83.89 kB / 449.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.2639, allocations: 1.881 MB / 451.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.2642, allocations: 59.77 kB / 451.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.2643, allocations: 24 kB / 451.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000453/0.2647, allocations: 257.3 kB / 451.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004207/0.2651, allocations: 260.5 kB / 451.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006938/0.2658, allocations: 406.7 kB / 452.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.073e-06/0.2658, allocations: 0 / 452.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0009919/0.2668, allocations: 0.519 MB / 452.7 MB, free: 2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.2669, allocations: 37.69 kB / 452.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2669, allocations: 4 kB / 452.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.2671, allocations: 72.84 kB / 452.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.2674, allocations: 80.09 kB / 452.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.2692, allocations: 1.898 MB / 454.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.2695, allocations: 51.75 kB / 454.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.2696, allocations: 20 kB / 454.9 MB, free: 15.7 MB / 366.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.0001876/0.2698, allocations: 218.4 kB / 455.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.2698, allocations: 51.78 kB / 455.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.2709, allocations: 474.7 kB / 455.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2709, allocations: 0 / 455.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2709, allocations: 4 kB / 455.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.2711, allocations: 164.7 kB / 455.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.2712, allocations: 8 kB / 455.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.2715, allocations: 31.97 kB / 455.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.2716, allocations: 35.89 kB / 455.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00137/0.273, allocations: 0.5447 MB / 456.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001315/0.2743, allocations: 0.7462 MB / 457.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003467/0.2746, allocations: 148.2 kB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003032/0.2749, allocations: 267.2 kB / 457.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of Backend: time 5.21e-07/0.2749, allocations: 0 / 457.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.2766, allocations: 0.9092 MB / 458.4 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 0.001943/0.2786, allocations: 1.472 MB / 459.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of Templates: time 0.0152/0.2938, allocations: 8.656 MB / 468.6 MB, free: 1.949 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepUp/ChopperStepUp_R/ChopperStepUp_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.524154874961823]