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.0009341/0.0009341, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00112/0.00112, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 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.018/1.018, allocations: 177 MB / 205.2 MB, free: 5 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|stop.on|stop.reset.[0-9,]+.",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.[0-9,]+.|stop.on|stop.reset.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.742e-05, allocations: 9.266 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002764/0.002782, allocations: 2.567 MB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.005479, allocations: 1.924 MB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.005695, allocations: 11.88 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008977/0.006593, allocations: 0.5373 MB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005951/0.007188, allocations: 0.5018 MB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008213/0.008009, allocations: 0.5299 MB / 279.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006381/0.008648, allocations: 0.8336 MB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.008759, allocations: 74.12 kB / 280.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000809/0.009568, allocations: 0.5026 MB / 280.9 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.009843, allocations: 299.2 kB / 281.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.009884, allocations: 36 kB / 281.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.0102, allocations: 251.6 kB / 281.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.01035, allocations: 211.2 kB / 281.7 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.01046, allocations: 159.5 kB / 281.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.01101, allocations: 0.6421 MB / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-06/0.01101, allocations: 0 / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.01101, allocations: 0 / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.01102, allocations: 0 / 282.5 MB, free: 7.926 MB / 266.7 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.0007991/0.01182, allocations: 1.11 MB / 283.6 MB, free: 6.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.424e-05/0.01184, allocations: 15.98 kB / 283.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.01191, allocations: 60.88 kB / 283.7 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.01237, allocations: 0.4987 MB / 284.2 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.01238, allocations: 24.34 kB / 284.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.01241, allocations: 20.38 kB / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.01266, allocations: 315.4 kB / 284.5 MB, free: 5.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.01266, allocations: 192 / 284.5 MB, free: 5.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.01268, allocations: 16.36 kB / 284.5 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.0127, allocations: 11.94 kB / 284.5 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01282, allocations: 172.2 kB / 284.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.01345, allocations: 0.9011 MB / 285.6 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.01373, allocations: 466.1 kB / 286.1 MB, free: 4.074 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.933e-05/0.01383, allocations: 167.6 kB / 286.2 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.01384, allocations: 4 kB / 286.2 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.01413, allocations: 487 kB / 286.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.293e-06/0.01413, allocations: 4 kB / 286.7 MB, free: 3.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003845/0.01451, allocations: 0.5429 MB / 287.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.01462, allocations: 332.4 kB / 287.6 MB, free: 2.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.01506, allocations: 0.6499 MB / 288.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.01509, allocations: 41.7 kB / 288.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.01522, allocations: 202.7 kB / 288.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.01528, allocations: 111.2 kB / 288.6 MB, free: 1.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/0.01536, allocations: 90.12 kB / 288.7 MB, free: 1.203 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.251e-05/0.01543, allocations: 325.9 kB / 289 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.01552, allocations: 144.9 kB / 289.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.0157, allocations: 378 kB / 289.5 MB, free: 248 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1561/0.1718, allocations: 444 kB / 289.9 MB, free: 24.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.1718, allocations: 8.266 kB / 289.9 MB, free: 24.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006405/0.1725, allocations: 480.4 kB / 290.4 MB, free: 24.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/0.1725, allocations: 98.22 kB / 290.5 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.1726, allocations: 4.734 kB / 290.5 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.1726, allocations: 5.906 kB / 290.5 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.1728, allocations: 69.91 kB / 290.6 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1728, allocations: 8.438 kB / 290.6 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.173, allocations: 47.17 kB / 290.6 MB, free: 24.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.173, allocations: 17.28 kB / 290.6 MB, free: 24.3 MB / 266.7 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,integerValue.number,booleanValue.active) * 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.0002824/0.1733, allocations: 276.1 kB / 290.9 MB, free: 24.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.1734, allocations: 66.81 kB / 291 MB, free: 24.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/0.1739, allocations: 369.2 kB / 291.3 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1739, allocations: 4.281 kB / 291.3 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1739, allocations: 2.094 kB / 291.3 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1739, allocations: 3.766 kB / 291.4 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.1745, allocations: 0.6457 MB / 292 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.1745, allocations: 4.562 kB / 292 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.651e-05/0.1746, allocations: 29.11 kB / 292 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1746, allocations: 3.125 kB / 292 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.1746, allocations: 15.38 kB / 292.1 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.1746, allocations: 4.281 kB / 292.1 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1746, allocations: 0 / 292.1 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.1751, allocations: 0.6176 MB / 292.7 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.1752, allocations: 74.7 kB / 292.7 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-05/0.1752, allocations: 22.77 kB / 292.8 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.1754, allocations: 22.2 kB / 292.8 MB, free: 23.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.1755, allocations: 40.73 kB / 292.8 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.1755, allocations: 19.36 kB / 292.8 MB, free: 23.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003671/0.1759, allocations: 336.3 kB / 293.2 MB, free: 23.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1759, allocations: 0 / 293.2 MB, free: 23.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004554/0.1763, allocations: 148.7 kB / 293.3 MB, free: 23.11 MB / 266.7 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 (33): * Single equations (assignments): 22 * 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.001364/0.1777, allocations: 0.588 MB / 293.9 MB, free: 22.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004479/0.1781, allocations: 0.5743 MB / 294.5 MB, free: 22.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/0.1781, allocations: 7.281 kB / 294.5 MB, free: 22.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.1784, allocations: 381.2 kB / 294.9 MB, free: 22.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.1789, allocations: 196.4 kB / 295.1 MB, free: 22.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1801, allocations: 1.09 MB / 296.1 MB, free: 21.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.1803, allocations: 167.9 kB / 296.3 MB, free: 21.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.1805, allocations: 98.98 kB / 296.4 MB, free: 21.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.1808, allocations: 209.6 kB / 296.6 MB, free: 21.54 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1808, allocations: 3.562 kB / 296.6 MB, free: 21.54 MB / 266.7 MB Notification: Performance of Templates: time 0.01437/0.1952, allocations: 10.31 MB / 306.9 MB, free: 17.18 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0943944710306823]