Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_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.001341/0.001341, 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.001452/0.001452, allocations: 204.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.448/1.448, 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.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 39.94 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2149, allocations: 53.37 MB / 432.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R): time 0.005624/0.2206, allocations: 3.856 MB / 436.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2224, allocations: 1.083 MB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.2226, allocations: 15.88 kB / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.2229, allocations: 103 kB / 437.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.2232, allocations: 150.6 kB / 437.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.2237, allocations: 235.6 kB / 437.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007301/0.2244, allocations: 0.701 MB / 438.5 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.2248, allocations: 180.8 kB / 438.7 MB, free: 388 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.2251, allocations: 267 kB / 439 MB, free: 120 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.2254, allocations: 274.7 kB / 439.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.911e-05/0.2255, allocations: 68 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.2256, allocations: 60 kB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.2258, allocations: 139.5 kB / 439.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.226, allocations: 238.8 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.2267, allocations: 0.7 MB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2267, allocations: 0 / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2267, allocations: 3.938 kB / 440.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.2268, allocations: 0 / 440.4 MB, free: 14.65 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.001807/0.2286, allocations: 0.9375 MB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2286, allocations: 12.03 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.2287, allocations: 64.56 kB / 441.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.2294, allocations: 359 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.2294, allocations: 37.38 kB / 441.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.2295, allocations: 48.38 kB / 441.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.2305, allocations: 0.5586 MB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.2306, allocations: 3.938 kB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.2306, allocations: 24 kB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.2306, allocations: 15.98 kB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008544/0.2315, allocations: 359.7 kB / 442.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.234, allocations: 1.488 MB / 444.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.235, allocations: 383 kB / 444.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.2356, allocations: 224.7 kB / 444.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.2357, allocations: 7.984 kB / 444.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006059/0.2363, allocations: 314.2 kB / 445.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.944e-06/0.2363, allocations: 0 / 445.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001864/0.2381, allocations: 0.6378 MB / 445.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.2382, allocations: 106.8 kB / 446 MB, free: 8.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.2386, allocations: 341.6 kB / 446.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.2387, allocations: 37.7 kB / 446.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.2388, allocations: 257.2 kB / 446.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.239, allocations: 138.8 kB / 446.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.2391, allocations: 98.17 kB / 446.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2393, allocations: 350.8 kB / 447.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.2397, allocations: 184.5 kB / 447.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/0.2402, allocations: 352.8 kB / 447.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.241, allocations: 431.9 kB / 448.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2411, allocations: 0 / 448.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001121/0.2422, allocations: 0.5653 MB / 448.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.2422, allocations: 33.7 kB / 448.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2422, allocations: 4 kB / 448.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/0.2425, allocations: 68.81 kB / 448.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.2429, allocations: 95.77 kB / 448.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.2447, allocations: 1.74 MB / 450.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.2451, allocations: 55.75 kB / 450.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.2451, allocations: 19.94 kB / 450.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004949/0.2456, allocations: 290.8 kB / 451 MB, free: 3.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004745/0.2461, allocations: 344.9 kB / 451.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007285/0.2468, allocations: 402.8 kB / 451.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.2468, allocations: 0 / 451.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00104/0.2479, allocations: 0.5441 MB / 452.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.2479, allocations: 41.69 kB / 452.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2479, allocations: 4.422 kB / 452.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.2481, allocations: 72.89 kB / 452.4 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.2485, allocations: 91.81 kB / 452.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.2502, allocations: 1.751 MB / 454.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.2506, allocations: 59.81 kB / 454.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.2506, allocations: 16.16 kB / 454.3 MB, free: 15.98 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,chopperStepDown.diode.off,chopperStepDown.transistor.off,chopperStepDown.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.0001827/0.2508, allocations: 226.8 kB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.2509, allocations: 43.72 kB / 454.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2521, allocations: 478.6 kB / 455 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.2521, allocations: 3.984 kB / 455 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2521, allocations: 3.938 kB / 455 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.2522, allocations: 71.59 kB / 455.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.2523, allocations: 15.98 kB / 455.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.2526, allocations: 35.97 kB / 455.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.2527, allocations: 31.94 kB / 455.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001472/0.2542, allocations: 0.5678 MB / 455.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001398/0.2556, allocations: 0.7381 MB / 456.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003783/0.2559, allocations: 160.6 kB / 456.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002558/0.2562, allocations: 231.2 kB / 456.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Backend: time 4.2e-07/0.2562, allocations: 192 / 456.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.258, allocations: 0.9638 MB / 457.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of SimCode: time 0.001864/0.2598, allocations: 1.464 MB / 459.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01611/0.2759, allocations: 9.04 MB / 468.3 MB, free: 1.949 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_R/ChopperStepDown_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_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.663067854002293]