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_RL.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.001713/0.001713, allocations: 110.8 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.002186/0.002186, allocations: 209.3 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.805 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.i|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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.i|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_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2115, 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_RL): time 0.005756/0.2172, allocations: 3.941 MB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.2193, allocations: 1.102 MB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.2196, allocations: 15.88 kB / 437.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.2199, allocations: 107 kB / 437.6 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.2202, allocations: 154.6 kB / 437.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.2208, allocations: 247.6 kB / 438 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007854/0.2215, allocations: 0.7204 MB / 438.7 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.2219, allocations: 184.7 kB / 438.9 MB, free: 236 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.2222, allocations: 283 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.2226, allocations: 282.7 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.2227, allocations: 67.94 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2228, allocations: 64 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.223, allocations: 135.5 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.2232, allocations: 258.8 kB / 439.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000785/0.224, allocations: 0.7311 MB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.224, allocations: 0 / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.224, allocations: 0 / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.224, allocations: 0 / 440.6 MB, free: 14.43 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001848/0.2259, allocations: 0.9651 MB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2259, allocations: 8.031 kB / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.226, allocations: 72.5 kB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.2267, allocations: 373.2 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.2268, allocations: 37.38 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-05/0.2269, allocations: 56.36 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.2279, allocations: 0.5746 MB / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.228, allocations: 4 kB / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.228, allocations: 20 kB / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.228, allocations: 15.94 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.2289, allocations: 371.7 kB / 443.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.2316, allocations: 1.569 MB / 444.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.2326, allocations: 372.2 kB / 445.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.2333, allocations: 233.4 kB / 445.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.2333, allocations: 8.312 kB / 445.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006358/0.2339, allocations: 318.8 kB / 445.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.2339, allocations: 0 / 445.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001925/0.2359, allocations: 0.6511 MB / 446.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/0.236, allocations: 114.8 kB / 446.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.2364, allocations: 345.5 kB / 446.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.2364, allocations: 41.69 kB / 446.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.2366, allocations: 261.2 kB / 447 MB, free: 7.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.2368, allocations: 154.8 kB / 447.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.2369, allocations: 98.17 kB / 447.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2371, allocations: 346.8 kB / 447.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.2375, allocations: 184.5 kB / 447.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.2381, allocations: 356.6 kB / 448.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008397/0.2389, allocations: 442.6 kB / 448.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2389, allocations: 0 / 448.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001178/0.2401, allocations: 0.5869 MB / 449.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.2401, allocations: 33.7 kB / 449.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.2402, allocations: 4 kB / 449.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.2404, allocations: 76.75 kB / 449.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.2408, allocations: 100.2 kB / 449.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.2428, allocations: 1.739 MB / 451.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.2432, allocations: 63.64 kB / 451.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.2432, allocations: 24.06 kB / 451.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000502/0.2437, allocations: 286.8 kB / 451.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004878/0.2442, allocations: 348.5 kB / 451.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007383/0.2449, allocations: 410.7 kB / 452.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/0.2449, allocations: 8 kB / 452.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization_lambda0): time 0.001054/0.246, allocations: 0.5562 MB / 452.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.246, allocations: 41.73 kB / 452.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.246, allocations: 4 kB / 452.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.2462, allocations: 68.81 kB / 452.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.2466, allocations: 91.77 kB / 453 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.2484, allocations: 1.755 MB / 454.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.2487, allocations: 59.7 kB / 454.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.2488, allocations: 16 kB / 454.8 MB, free: 15.47 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 (54): * Single equations (assignments): 52 * 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.0002048/0.249, allocations: 226.6 kB / 455 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.2491, allocations: 43.75 kB / 455.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.2503, allocations: 497.9 kB / 455.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.2503, allocations: 3.984 kB / 455.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2503, allocations: 0 / 455.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.2504, allocations: 67.66 kB / 455.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-05/0.2505, allocations: 15.98 kB / 455.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.2508, allocations: 39.97 kB / 455.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2509, allocations: 31.94 kB / 455.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001492/0.2524, allocations: 0.5789 MB / 456.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001395/0.2538, allocations: 0.7695 MB / 457 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003739/0.2542, allocations: 155.9 kB / 457.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.2544, allocations: 235.2 kB / 457.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Backend: time 4.11e-07/0.2544, allocations: 0 / 457.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.2562, allocations: 0.9904 MB / 458.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 0.002022/0.2583, allocations: 1.54 MB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of Templates: time 0.0164/0.2747, allocations: 9.291 MB / 469.2 MB, free: 1.027 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/DCDC/ChopperStepDown/ChopperStepDown_RL/ChopperStepDown_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.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.6745801490033045]