Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002265/0.002265, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.809 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2093, allocations: 53.37 MB / 432.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.005906/0.2152, allocations: 3.856 MB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.2175, allocations: 1.091 MB / 437.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.2178, allocations: 15.88 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.2181, allocations: 98.97 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.2185, allocations: 150.7 kB / 437.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.2191, allocations: 235.6 kB / 437.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008985/0.22, allocations: 0.6971 MB / 438.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.2204, allocations: 184.7 kB / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.2208, allocations: 263 kB / 439 MB, free: 156 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.2212, allocations: 274.8 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.743e-05/0.2213, allocations: 64 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.2214, allocations: 60 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.2215, allocations: 143.4 kB / 439.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.2218, allocations: 238.9 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007797/0.2225, allocations: 0.707 MB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2226, allocations: 0 / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2226, allocations: 0 / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2226, allocations: 0 / 440.4 MB, free: 14.68 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.001833/0.2244, allocations: 0.948 MB / 441.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2244, allocations: 8.031 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.2246, allocations: 64.56 kB / 441.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.2252, allocations: 359 kB / 441.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.2253, allocations: 37.38 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-05/0.2254, allocations: 52.38 kB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.2264, allocations: 0.5547 MB / 442.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2264, allocations: 0 / 442.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.2265, allocations: 20 kB / 442.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.2265, allocations: 12 kB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.2274, allocations: 367.7 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.2299, allocations: 1.492 MB / 444.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.231, allocations: 383.7 kB / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.2316, allocations: 208.7 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.2316, allocations: 4 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006285/0.2322, allocations: 318.2 kB / 445.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/0.2322, allocations: 0 / 445.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001878/0.2341, allocations: 0.6261 MB / 445.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.2342, allocations: 122.7 kB / 446 MB, free: 8.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.2346, allocations: 341.6 kB / 446.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.2347, allocations: 33.7 kB / 446.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.2349, allocations: 257.2 kB / 446.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.235, allocations: 138.8 kB / 446.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.2352, allocations: 98.17 kB / 446.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2353, allocations: 346.8 kB / 447.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.2357, allocations: 176.5 kB / 447.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.2362, allocations: 352.9 kB / 447.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008133/0.2371, allocations: 435.9 kB / 448.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2371, allocations: 0 / 448.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001131/0.2382, allocations: 0.5615 MB / 448.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.2382, allocations: 33.7 kB / 448.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2382, allocations: 4 kB / 448.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002924/0.2385, allocations: 80.78 kB / 448.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.2389, allocations: 87.83 kB / 448.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.2408, allocations: 1.743 MB / 450.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.2412, allocations: 55.75 kB / 450.7 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.2412, allocations: 16 kB / 450.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000503/0.2417, allocations: 290.7 kB / 451 MB, free: 3.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004814/0.2422, allocations: 344.9 kB / 451.3 MB, free: 3.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007278/0.2429, allocations: 402.8 kB / 451.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.2429, allocations: 0 / 451.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001054/0.244, allocations: 0.5479 MB / 452.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.244, allocations: 37.69 kB / 452.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.244, allocations: 0 / 452.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.2443, allocations: 68.83 kB / 452.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.2446, allocations: 96.25 kB / 452.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.2464, allocations: 1.747 MB / 454.2 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.2468, allocations: 51.75 kB / 454.2 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.2469, allocations: 20.06 kB / 454.2 MB, free: 48 kB / 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.0002302/0.2471, allocations: 226.7 kB / 454.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.2472, allocations: 43.77 kB / 454.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.2483, allocations: 466.5 kB / 455 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-06/0.2483, allocations: 4 kB / 455 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2483, allocations: 3.984 kB / 455 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.2485, allocations: 75.61 kB / 455 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.2486, allocations: 16 kB / 455.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.2489, allocations: 27.97 kB / 455.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/0.249, allocations: 35.94 kB / 455.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001468/0.2505, allocations: 0.5563 MB / 455.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001389/0.2518, allocations: 0.7459 MB / 456.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003745/0.2522, allocations: 152.6 kB / 456.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.2525, allocations: 235.2 kB / 456.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of Backend: time 3.2e-07/0.2525, allocations: 0 / 456.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.2543, allocations: 0.9634 MB / 457.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of SimCode: time 0.001972/0.2563, allocations: 1.461 MB / 459.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01646/0.2728, allocations: 9.05 MB / 468.3 MB, free: 1.996 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.726935767001123]