Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Interaction1.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.001739/0.001739, allocations: 110.3 kB / 21.18 MB, free: 0.6289 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.002322/0.002322, allocations: 207.1 kB / 24.48 MB, free: 4.035 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.435/1.435, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.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-beta.om_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-beta.om_Modelica.Blocks.Examples.Interaction1") [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.001986/0.001986, allocations: 71.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2567, allocations: 53.32 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004155/0.2608, allocations: 2.604 MB / 434.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003647/0.2645, allocations: 1.957 MB / 436.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.2647, allocations: 15.88 kB / 436.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.2659, allocations: 0.5475 MB / 437.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009208/0.2668, allocations: 494.3 kB / 437.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.2682, allocations: 0.548 MB / 438.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009711/0.2692, allocations: 0.8066 MB / 439 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.2694, allocations: 58 kB / 439.1 MB, free: 360 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.2698, allocations: 346.7 kB / 439.4 MB, free: 12 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.2704, allocations: 402.5 kB / 439.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.2705, allocations: 44 kB / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.2709, allocations: 231.8 kB / 440.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.2712, allocations: 211.3 kB / 440.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.2715, allocations: 314 kB / 440.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.2726, allocations: 0.8929 MB / 441.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2726, allocations: 0 / 441.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2726, allocations: 0 / 441.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2726, allocations: 0 / 441.5 MB, free: 13.94 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.001985/0.2746, allocations: 1.261 MB / 442.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2747, allocations: 8.922 kB / 442.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.2748, allocations: 84.42 kB / 442.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009097/0.2757, allocations: 0.6059 MB / 443.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.2758, allocations: 20.38 kB / 443.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.2758, allocations: 36.09 kB / 443.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006598/0.2765, allocations: 354.7 kB / 443.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2765, allocations: 0 / 443.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.2765, allocations: 8 kB / 443.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.2765, allocations: 8 kB / 443.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.277, allocations: 183.7 kB / 444 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.2788, allocations: 1.337 MB / 445.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.2795, allocations: 338.7 kB / 445.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.2798, allocations: 155.4 kB / 445.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.2798, allocations: 4 kB / 445.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006622/0.2805, allocations: 467.2 kB / 446.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.345e-06/0.2805, allocations: 3.938 kB / 446.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001477/0.282, allocations: 0.7401 MB / 447.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002723/0.2822, allocations: 468.9 kB / 447.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.2835, allocations: 0.9694 MB / 448.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.2836, allocations: 41.7 kB / 448.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.2839, allocations: 316.8 kB / 448.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.284, allocations: 115.2 kB / 448.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.2841, allocations: 102.1 kB / 449 MB, free: 5.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2843, allocations: 322 kB / 449.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.2846, allocations: 160.9 kB / 449.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.2851, allocations: 346.4 kB / 449.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.2859, allocations: 0.5816 MB / 450.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2859, allocations: 0 / 450.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001186/0.2871, allocations: 0.6657 MB / 451.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.547e-05/0.2872, allocations: 101 kB / 451.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.2872, allocations: 4 kB / 451.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.2873, allocations: 4.906 kB / 451.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.2875, allocations: 71.84 kB / 451.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.2875, allocations: 4.281 kB / 451.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.2878, allocations: 55.7 kB / 451.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.2879, allocations: 20 kB / 451.4 MB, free: 3.336 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.0004769/0.2883, allocations: 402.8 kB / 451.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.2885, allocations: 91.61 kB / 451.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.2895, allocations: 0.5135 MB / 452.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2895, allocations: 3.984 kB / 452.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2895, allocations: 0 / 452.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.2897, allocations: 160.5 kB / 452.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.2898, allocations: 24 kB / 452.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2901, allocations: 27.91 kB / 452.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2902, allocations: 43.91 kB / 452.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001405/0.2916, allocations: 1.096 MB / 453.7 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00136/0.2929, allocations: 1.075 MB / 454.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000386/0.2933, allocations: 195 kB / 455 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009026/0.2942, allocations: 0.7021 MB / 455.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.2942, allocations: 0 / 455.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002995/0.2972, allocations: 0.9367 MB / 456.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of SimCode: time 0.002411/0.2996, allocations: 1.808 MB / 458.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of Templates: time 0.01989/0.3195, allocations: 10.38 MB / 468.8 MB, free: 1.863 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.5769122913479805]