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.00131/0.00131, allocations: 86.64 kB / 20.68 MB, free: 1.035 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.00141/0.00141, allocations: 159.1 kB / 23.95 MB, free: 4.168 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.429/1.429, allocations: 177 MB / 204.1 MB, free: 9.133 MB / 190.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 2.154e-06/2.154e-06, allocations: 0.6562 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.251e-05, allocations: 2.281 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003673/0.003696, allocations: 2.444 MB / 327.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003532/0.007228, allocations: 1.865 MB / 329.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.007419, allocations: 7.594 kB / 329.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.008738, allocations: 0.5507 MB / 329.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.009783, allocations: 0.5085 MB / 330.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.01118, allocations: 0.5615 MB / 330.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009425/0.01212, allocations: 0.8284 MB / 331.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.0123, allocations: 65.97 kB / 331.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.01286, allocations: 440.2 kB / 332.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.01331, allocations: 353.3 kB / 332.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.291e-05/0.01339, allocations: 43.81 kB / 332.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.01383, allocations: 247.5 kB / 332.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.01408, allocations: 221.1 kB / 333.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.01432, allocations: 180.3 kB / 333.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.01541, allocations: 0.8963 MB / 334.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01542, allocations: 1.438 kB / 334.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01542, allocations: 0 / 334.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.01543, allocations: 0 / 334.2 MB, free: 10.82 MB / 302.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.001832/0.01726, allocations: 1.17 MB / 335.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.01729, allocations: 12.89 kB / 335.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.01745, allocations: 86.84 kB / 335.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.01832, allocations: 0.5351 MB / 336 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.01836, allocations: 23.77 kB / 336 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.01841, allocations: 25.03 kB / 336 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.01913, allocations: 445.9 kB / 336.5 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.01915, allocations: 5.266 kB / 336.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.01918, allocations: 12.78 kB / 336.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.01921, allocations: 18.86 kB / 336.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.01971, allocations: 284.2 kB / 336.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.02124, allocations: 1.211 MB / 338 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.02207, allocations: 426.2 kB / 338.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/0.02247, allocations: 254.5 kB / 338.6 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.02249, allocations: 4 kB / 338.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007148/0.02321, allocations: 0.5473 MB / 339.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.02321, allocations: 0 / 339.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001683/0.02489, allocations: 0.9678 MB / 340.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/0.02511, allocations: 354.1 kB / 340.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.02639, allocations: 0.9811 MB / 341.5 MB, free: 4.023 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.02644, allocations: 49.62 kB / 341.5 MB, free: 3.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.02674, allocations: 312.9 kB / 341.8 MB, free: 3.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.02686, allocations: 119.1 kB / 342 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.02701, allocations: 94.17 kB / 342.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.02717, allocations: 329.9 kB / 342.4 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.02758, allocations: 250 kB / 342.6 MB, free: 2.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.02818, allocations: 0.5357 MB / 343.2 MB, free: 2.199 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008595/0.02904, allocations: 0.5939 MB / 343.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.02905, allocations: 4 kB / 343.8 MB, free: 1.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001267/0.03032, allocations: 0.7995 MB / 344.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.0304, allocations: 101.1 kB / 344.7 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.03041, allocations: 4 kB / 344.7 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.03043, allocations: 4 kB / 344.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.0307, allocations: 63.84 kB / 344.7 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.03072, allocations: 11.94 kB / 344.7 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.031, allocations: 48.05 kB / 344.8 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.03105, allocations: 27.98 kB / 344.8 MB, free: 408 kB / 302.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.000453/0.0315, allocations: 390.8 kB / 345.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.03164, allocations: 83.48 kB / 345.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.03274, allocations: 0.6108 MB / 345.9 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.03275, allocations: 8.188 kB / 345.9 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.03276, allocations: 11.92 kB / 345.9 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.03277, allocations: 7.938 kB / 345.9 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.03407, allocations: 0.93 MB / 346.8 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.03408, allocations: 0 / 346.8 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.03421, allocations: 31.98 kB / 346.9 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.03421, allocations: 0 / 346.9 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.03425, allocations: 19.98 kB / 346.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.03426, allocations: 3.938 kB / 346.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.03426, allocations: 12.33 kB / 346.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.03561, allocations: 0.9208 MB / 347.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.03575, allocations: 87.41 kB / 347.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.03588, allocations: 27.92 kB / 347.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.03614, allocations: 19.98 kB / 348 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.03627, allocations: 47.92 kB / 348 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.03631, allocations: 20 kB / 348 MB, free: 13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009073/0.03722, allocations: 0.7059 MB / 348.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03722, allocations: 0 / 348.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000589/0.03781, allocations: 163.8 kB / 348.9 MB, free: 12.13 MB / 318.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 (35): * Single equations (assignments): 24 * 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.001876/0.03969, allocations: 0.5049 MB / 349.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.04088, allocations: 0.762 MB / 350.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.04088, allocations: 0 / 350.2 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006633/0.04154, allocations: 497.8 kB / 350.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/0.04245, allocations: 158.6 kB / 350.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.04458, allocations: 1.347 MB / 352.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.04499, allocations: 346.8 kB / 352.5 MB, free: 8.477 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.04525, allocations: 113.5 kB / 352.6 MB, free: 8.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.04543, allocations: 60.48 kB / 352.7 MB, free: 8.305 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.04543, allocations: 0 / 352.7 MB, free: 8.305 MB / 318.1 MB Notification: Performance of Templates: time 0.0189/0.06432, allocations: 9.836 MB / 362.5 MB, free: 14.54 MB / 334.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.410984128713608]