Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.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.001714/0.001714, 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.002073/0.002073, 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.216, allocations: 53.37 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004058/0.2201, allocations: 2.437 MB / 434.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.2235, allocations: 1.844 MB / 436.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.2236, allocations: 11.88 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.2249, allocations: 0.5531 MB / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.2259, allocations: 0.5054 MB / 437.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.2272, allocations: 0.5585 MB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009078/0.2281, allocations: 0.8182 MB / 439.1 MB, free: 4 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.2283, allocations: 70.05 kB / 439.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.2287, allocations: 342.6 kB / 439.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005009/0.2292, allocations: 406.5 kB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/0.2293, allocations: 44 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.2298, allocations: 239.7 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.23, allocations: 215.2 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.2303, allocations: 230.5 kB / 440.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2314, allocations: 0.9054 MB / 441.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2314, allocations: 0 / 441.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2314, allocations: 0 / 441.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.2314, allocations: 0 / 441.5 MB, free: 13.58 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.002043/0.2335, allocations: 1.181 MB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2335, allocations: 8.031 kB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.2337, allocations: 84.42 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009273/0.2346, allocations: 0.5326 MB / 443.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.2346, allocations: 20.38 kB / 443.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.2347, allocations: 28.11 kB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.2354, allocations: 454.1 kB / 443.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.2354, allocations: 3.938 kB / 443.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.2355, allocations: 8 kB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.2355, allocations: 4 kB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.236, allocations: 276.9 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.2377, allocations: 1.216 MB / 445.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008282/0.2385, allocations: 427.9 kB / 445.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.2389, allocations: 252.5 kB / 445.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.2389, allocations: 15.88 kB / 446 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000745/0.2397, allocations: 0.5432 MB / 446.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.2397, allocations: 0 / 446.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001709/0.2414, allocations: 0.9648 MB / 447.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.2416, allocations: 350.1 kB / 447.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.2429, allocations: 0.9811 MB / 448.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.243, allocations: 53.7 kB / 448.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.2433, allocations: 312.9 kB / 449.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.2434, allocations: 107.2 kB / 449.2 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.2435, allocations: 98.11 kB / 449.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2437, allocations: 322 kB / 449.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.2441, allocations: 250 kB / 449.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006111/0.2447, allocations: 0.5432 MB / 450.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.2456, allocations: 0.6088 MB / 451.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2456, allocations: 0 / 451.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001293/0.2469, allocations: 0.7884 MB / 451.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-05/0.247, allocations: 101 kB / 451.9 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.247, allocations: 7.938 kB / 452 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.247, allocations: 8.109 kB / 452 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.2473, allocations: 67.91 kB / 452 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.2473, allocations: 7.938 kB / 452 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.2476, allocations: 48.05 kB / 452.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.2476, allocations: 24 kB / 452.1 MB, free: 2.105 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition9,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition8,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition2,stop.on,$PRE.stop.on,start.reset[1],stop.reset[1],start.on,$PRE.start.on,stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[1],$whenCondition5,$whenCondition4,start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[1],$whenCondition7,$whenCondition6,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004461/0.2481, allocations: 386.8 kB / 452.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.2482, allocations: 87.42 kB / 452.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.2494, allocations: 0.6202 MB / 453.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.2494, allocations: 3.984 kB / 453.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2494, allocations: 7.938 kB / 453.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.2495, allocations: 83.41 kB / 453.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.2496, allocations: 27.94 kB / 453.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.2499, allocations: 23.97 kB / 453.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.25, allocations: 35.95 kB / 453.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001592/0.2516, allocations: 1.239 MB / 454.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001539/0.2531, allocations: 1.205 MB / 455.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004948/0.2536, allocations: 308.8 kB / 456.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009517/0.2546, allocations: 0.706 MB / 456.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Backend: time 5.91e-07/0.2546, allocations: 0 / 456.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003183/0.2577, allocations: 1.053 MB / 457.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 0.002452/0.2602, allocations: 1.801 MB / 459.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of Templates: time 0.01963/0.2798, allocations: 11.03 MB / 470.7 MB, free: 15.46 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Interaction1.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.628542572005244]