Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001767/0.001767, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002138/0.002138, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.89 kB / 378.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.246, allocations: 53.36 MB / 432.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.004249/0.2502, allocations: 2.611 MB / 434.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.2538, allocations: 1.967 MB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.2541, allocations: 15.81 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.2554, allocations: 0.5528 MB / 437.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.2564, allocations: 0.4944 MB / 437.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.2578, allocations: 0.5564 MB / 438.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.2588, allocations: 0.8182 MB / 439.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.259, allocations: 62.25 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.2596, allocations: 354.6 kB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.2601, allocations: 402.5 kB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.835e-05/0.2602, allocations: 40 kB / 440 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.2606, allocations: 251.7 kB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.2609, allocations: 211.3 kB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000352/0.2612, allocations: 314 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2624, allocations: 0.8887 MB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2624, allocations: 0 / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2624, allocations: 0 / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.757e-05/0.2624, allocations: 4 kB / 441.6 MB, free: 13.55 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.002101/0.2645, allocations: 1.189 MB / 442.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2645, allocations: 8.031 kB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.2647, allocations: 84.42 kB / 442.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.2658, allocations: 0.5404 MB / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.2658, allocations: 20.38 kB / 443.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.2658, allocations: 24.31 kB / 443.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.2665, allocations: 359 kB / 443.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2666, allocations: 0 / 443.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.2666, allocations: 15.98 kB / 443.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.2666, allocations: 7.938 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.267, allocations: 179.8 kB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.2687, allocations: 1.309 MB / 445.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/0.2695, allocations: 338.8 kB / 445.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.2698, allocations: 147.4 kB / 445.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.2698, allocations: 15.92 kB / 445.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006835/0.2705, allocations: 459.1 kB / 446.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.2705, allocations: 0 / 446.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001492/0.272, allocations: 0.7515 MB / 447 MB, free: 7.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000263/0.2723, allocations: 464.8 kB / 447.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.2736, allocations: 0.9694 MB / 448.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.2737, allocations: 45.69 kB / 448.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.274, allocations: 312.9 kB / 448.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.2741, allocations: 119.1 kB / 448.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.2743, allocations: 98.08 kB / 449 MB, free: 5.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2745, allocations: 330 kB / 449.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.2748, allocations: 152.9 kB / 449.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.2753, allocations: 358 kB / 449.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.2761, allocations: 0.5816 MB / 450.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2761, allocations: 0 / 450.4 MB, free: 4.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001217/0.2773, allocations: 0.6662 MB / 451.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.28e-05/0.2774, allocations: 97.38 kB / 451.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2774, allocations: 8 kB / 451.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.2775, allocations: 15.92 kB / 451.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.2777, allocations: 63.84 kB / 451.3 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.2777, allocations: 8.234 kB / 451.3 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.278, allocations: 51.72 kB / 451.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.2781, allocations: 20 kB / 451.3 MB, free: 3.137 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.0004451/0.2785, allocations: 394.9 kB / 451.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.2787, allocations: 87.47 kB / 451.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.2798, allocations: 0.5191 MB / 452.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.2798, allocations: 8 kB / 452.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.2798, allocations: 0 / 452.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.2798, allocations: 4.281 kB / 452.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.2813, allocations: 0.9533 MB / 453.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2813, allocations: 0 / 453.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.2814, allocations: 27.88 kB / 453.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.2814, allocations: 3.984 kB / 453.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.2814, allocations: 16 kB / 453.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2814, allocations: 0 / 453.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.2814, allocations: 7.984 kB / 453.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.2827, allocations: 0.787 MB / 454.1 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.2828, allocations: 83.45 kB / 454.2 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.2829, allocations: 23.98 kB / 454.2 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.2832, allocations: 23.92 kB / 454.3 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.2833, allocations: 39.95 kB / 454.3 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.2833, allocations: 23.98 kB / 454.3 MB, free: 0 / 350.1 MB Notification: Performance of sorting global known variables: time 0.000943/0.2843, allocations: 0.7021 MB / 455 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2843, allocations: 0 / 455 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006162/0.2849, allocations: 155.8 kB / 455.2 MB, free: 15.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001798/0.2867, allocations: 499.6 kB / 455.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.2878, allocations: 0.5525 MB / 456.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.2878, allocations: 4 kB / 456.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.2884, allocations: 370.4 kB / 456.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/0.2893, allocations: 193.5 kB / 456.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.2914, allocations: 1.223 MB / 458 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/0.2921, allocations: 0.9484 MB / 458.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003051/0.2924, allocations: 112.8 kB / 459.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.2925, allocations: 59.42 kB / 459.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2925, allocations: 0 / 459.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01898/0.3115, allocations: 9.735 MB / 468.8 MB, free: 1.508 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Interaction1/Interaction1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.92974685318768]