Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 144.5 kB / 24.89 MB, free: 9.234 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.951/0.951, allocations: 173.4 MB / 201.5 MB, free: 9.223 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+.|stop.on|stop.reset.[0-9,]+.",fileNamePrefix="Modelica_4.0.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.[0-9,]+.|stop.on|stop.reset.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 268.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.762e-05, allocations: 2.312 kB / 268.4 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002822/0.00284, allocations: 2.481 MB / 270.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.005243, allocations: 1.799 MB / 272.7 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.005503, allocations: 15.88 kB / 272.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009955/0.006498, allocations: 0.5374 MB / 273.3 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006934/0.007192, allocations: 454.2 kB / 273.7 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.008468, allocations: 0.6702 MB / 274.4 MB, free: 268 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007566/0.009225, allocations: 0.7752 MB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.009381, allocations: 66.14 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009723/0.01035, allocations: 0.5089 MB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.01071, allocations: 291.3 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/0.01076, allocations: 36 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.01113, allocations: 231.6 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.01132, allocations: 203.3 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.01147, allocations: 155.4 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007284/0.0122, allocations: 0.6266 MB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01221, allocations: 0 / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01221, allocations: 0 / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.01221, allocations: 4 kB / 277.3 MB, free: 13.4 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.001103/0.01332, allocations: 1.087 MB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.01335, allocations: 8.031 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.01345, allocations: 60.88 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.01407, allocations: 490.8 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.0141, allocations: 16.38 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.01414, allocations: 31.92 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.01449, allocations: 318.8 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.0145, allocations: 0 / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.01452, allocations: 8 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.01454, allocations: 11.98 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.01471, allocations: 168.2 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008344/0.01554, allocations: 0.8974 MB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.01593, allocations: 462.4 kB / 280.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.01605, allocations: 164.4 kB / 281 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.01608, allocations: 8 kB / 281 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.01645, allocations: 486.8 kB / 281.4 MB, free: 8.855 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 3.838e-06/0.01646, allocations: 3.984 kB / 281.4 MB, free: 8.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005435/0.017, allocations: 0.5463 MB / 282 MB, free: 8.242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.01712, allocations: 328.4 kB / 282.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.01769, allocations: 0.6342 MB / 282.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.01773, allocations: 45.69 kB / 283 MB, free: 7.148 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.01785, allocations: 182.8 kB / 283.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.01793, allocations: 115.1 kB / 283.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.01804, allocations: 94.12 kB / 283.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.01813, allocations: 329.9 kB / 283.7 MB, free: 6.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.01825, allocations: 140.9 kB / 283.8 MB, free: 6.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.01854, allocations: 385.9 kB / 284.2 MB, free: 5.793 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.01888, allocations: 440.5 kB / 284.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.01888, allocations: 0 / 284.6 MB, free: 5.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004522/0.01934, allocations: 485.2 kB / 285.1 MB, free: 4.746 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/0.0194, allocations: 97.09 kB / 285.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.01941, allocations: 4.906 kB / 285.2 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.01943, allocations: 12 kB / 285.2 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.0196, allocations: 59.91 kB / 285.3 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.01961, allocations: 11.92 kB / 285.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.01979, allocations: 39.78 kB / 285.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.01982, allocations: 23.98 kB / 285.4 MB, free: 4.484 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.0002139/0.02003, allocations: 269.6 kB / 285.6 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.02012, allocations: 67.92 kB / 285.7 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.02051, allocations: 362.8 kB / 286 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.02051, allocations: 4 kB / 286 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.02051, allocations: 0 / 286 MB, free: 3.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.02052, allocations: 7.984 kB / 286.1 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.0211, allocations: 0.6497 MB / 286.7 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.0211, allocations: 0 / 286.7 MB, free: 3.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.534e-05/0.02119, allocations: 28.16 kB / 286.7 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.02119, allocations: 0 / 286.7 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.02122, allocations: 19.98 kB / 286.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.02122, allocations: 4 kB / 286.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02122, allocations: 0 / 286.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.02169, allocations: 0.6136 MB / 287.4 MB, free: 2.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.02176, allocations: 67.45 kB / 287.4 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.242e-05/0.02184, allocations: 24 kB / 287.5 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.02201, allocations: 23.97 kB / 287.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.02209, allocations: 43.83 kB / 287.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.02212, allocations: 19.98 kB / 287.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003183/0.02244, allocations: 319.4 kB / 287.9 MB, free: 1.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02244, allocations: 4 kB / 287.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004627/0.0229, allocations: 143.8 kB / 288 MB, free: 1.656 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.001414/0.02431, allocations: 0.5996 MB / 288.6 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000469/0.02478, allocations: 0.5695 MB / 289.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.02479, allocations: 4 kB / 289.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.02504, allocations: 392 kB / 289.6 MB, free: 200 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.02558, allocations: 190.7 kB / 289.7 MB, free: 20 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.02686, allocations: 1.076 MB / 290.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.02707, allocations: 165.8 kB / 291 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.02727, allocations: 85.34 kB / 291.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.02759, allocations: 199.3 kB / 291.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02759, allocations: 4 kB / 291.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of Templates: time 0.01514/0.04273, allocations: 10.18 MB / 301.4 MB, free: 4.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0185263752937317]