Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 81.64 kB / 19.87 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 173 kB / 23.28 MB, free: 1.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.015/1.015, allocations: 158.6 MB / 185.2 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.02787/0.02787, allocations: 6.408 MB / 244 MB, free: 8.543 MB / 234.7 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 311.2 MB, free: 51.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.677e-05, allocations: 7.5 kB / 311.2 MB, free: 51.79 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.002909/0.002936, allocations: 1.984 MB / 313.2 MB, free: 50.49 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.004002, allocations: 0.5656 MB / 313.7 MB, free: 50.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.004121, allocations: 7.812 kB / 313.7 MB, free: 50.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.532e-05/0.004187, allocations: 20.92 kB / 313.8 MB, free: 50.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.005376, allocations: 51.7 kB / 313.8 MB, free: 50.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.005602, allocations: 55.62 kB / 313.9 MB, free: 50.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.005821, allocations: 220.8 kB / 314.1 MB, free: 49.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.006007, allocations: 66.19 kB / 314.1 MB, free: 49.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.006262, allocations: 132.6 kB / 314.3 MB, free: 49.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.006373, allocations: 67.72 kB / 314.3 MB, free: 49.8 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.006405, allocations: 20.62 kB / 314.4 MB, free: 49.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.006435, allocations: 21.28 kB / 314.4 MB, free: 49.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.006473, allocations: 40.47 kB / 314.4 MB, free: 49.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.006546, allocations: 76.66 kB / 314.5 MB, free: 49.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.006731, allocations: 145.2 kB / 314.6 MB, free: 49.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006733, allocations: 4 kB / 314.6 MB, free: 49.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.006735, allocations: 1.375 kB / 314.6 MB, free: 49.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.006739, allocations: 0 / 314.6 MB, free: 49.66 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005006/0.00724, allocations: 0.5098 MB / 315.2 MB, free: 49.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.007281, allocations: 13.58 kB / 315.2 MB, free: 49.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.007339, allocations: 38.91 kB / 315.2 MB, free: 49.2 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.586e-05/0.007405, allocations: 132.9 kB / 315.3 MB, free: 49.05 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.007424, allocations: 13.12 kB / 315.4 MB, free: 49.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.007459, allocations: 28.77 kB / 315.4 MB, free: 49.03 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.007659, allocations: 137.9 kB / 315.5 MB, free: 48.97 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.007671, allocations: 192 / 315.5 MB, free: 48.97 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.007687, allocations: 11.42 kB / 315.5 MB, free: 48.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.007697, allocations: 11.47 kB / 315.5 MB, free: 48.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.007798, allocations: 56.7 kB / 315.6 MB, free: 48.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006287/0.008427, allocations: 0.6235 MB / 316.2 MB, free: 48.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.0086, allocations: 137.5 kB / 316.3 MB, free: 48.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.008687, allocations: 67.62 kB / 316.4 MB, free: 48.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.008696, allocations: 4 kB / 316.4 MB, free: 48.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.008803, allocations: 107.1 kB / 316.5 MB, free: 48.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.008804, allocations: 0 / 316.5 MB, free: 48.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005573/0.009362, allocations: 463.4 kB / 317 MB, free: 47.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.009386, allocations: 59.39 kB / 317 MB, free: 47.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.009446, allocations: 193.8 kB / 317.2 MB, free: 47.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.009457, allocations: 37.7 kB / 317.3 MB, free: 47.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.009502, allocations: 179.1 kB / 317.4 MB, free: 47.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.009538, allocations: 83.3 kB / 317.5 MB, free: 46.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.009588, allocations: 63.33 kB / 317.6 MB, free: 46.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.00964, allocations: 0.5001 MB / 318.1 MB, free: 46.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.009669, allocations: 23.98 kB / 318.1 MB, free: 46.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/0.009727, allocations: 121.3 kB / 318.2 MB, free: 46.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.009845, allocations: 188.6 kB / 318.4 MB, free: 45.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009847, allocations: 0.625 kB / 318.4 MB, free: 45.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001715/0.01002, allocations: 195.7 kB / 318.6 MB, free: 45.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01003, allocations: 8.25 kB / 318.6 MB, free: 45.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01004, allocations: 4 kB / 318.6 MB, free: 45.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.01005, allocations: 4 kB / 318.6 MB, free: 45.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01019, allocations: 67.91 kB / 318.7 MB, free: 45.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.01019, allocations: 7.938 kB / 318.7 MB, free: 45.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.01025, allocations: 15.98 kB / 318.7 MB, free: 45.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.01025, allocations: 8 kB / 318.7 MB, free: 45.66 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: intervalMeasure.w:DISCRETE(flow=false fixed = true ) \"Sensed speed\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 (intervalMeasure.last_time,$PRE.intervalMeasure.last_time,$PRE.intervalMeasure.w,intervalMeasure.w,intervalMeasure.prev_phi,$PRE.intervalMeasure.prev_phi,intervalMeasure.next_phi,$PRE.intervalMeasure.next_phi,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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.0001046/0.01036, allocations: 186.4 kB / 318.9 MB, free: 45.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.01038, allocations: 19.91 kB / 318.9 MB, free: 45.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.01041, allocations: 20.94 kB / 318.9 MB, free: 45.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01041, allocations: 4 kB / 318.9 MB, free: 45.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01041, allocations: 0 / 318.9 MB, free: 45.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01042, allocations: 3.984 kB / 318.9 MB, free: 45.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.0108, allocations: 0.5127 MB / 319.5 MB, free: 44.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.0108, allocations: 3.984 kB / 319.5 MB, free: 44.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.01091, allocations: 35.98 kB / 319.5 MB, free: 44.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01091, allocations: 4 kB / 319.5 MB, free: 44.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01093, allocations: 16 kB / 319.5 MB, free: 44.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01093, allocations: 0 / 319.5 MB, free: 44.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01093, allocations: 0 / 319.5 MB, free: 44.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.01116, allocations: 379.7 kB / 319.9 MB, free: 44.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.372e-05/0.01117, allocations: 12.84 kB / 319.9 MB, free: 44.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.01119, allocations: 4 kB / 319.9 MB, free: 44.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.512e-05/0.01124, allocations: 11.98 kB / 319.9 MB, free: 44.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.01128, allocations: 23.84 kB / 319.9 MB, free: 44.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.0113, allocations: 8 kB / 319.9 MB, free: 44.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.105e-05/0.01133, allocations: 135.9 kB / 320.1 MB, free: 44.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01133, allocations: 4 kB / 320.1 MB, free: 44.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.01155, allocations: 48 kB / 320.1 MB, free: 44.17 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia2.flange_a.phi,inertia2.w,inertia1.flange_a.phi,inertia1.w) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,intervalMeasure.w,intervalMeasure.next_phi,intervalMeasure.prev_phi,intervalMeasure.last_time) * Number of discrete states: 3 (intervalMeasure.prev_phi,intervalMeasure.next_phi,intervalMeasure.last_time) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 9.281e-05/0.01164, allocations: 106.7 kB / 320.2 MB, free: 44.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.01179, allocations: 131.9 kB / 320.4 MB, free: 43.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01179, allocations: 0 / 320.4 MB, free: 43.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.892e-05/0.01185, allocations: 64.8 kB / 320.4 MB, free: 43.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.01205, allocations: 27.45 kB / 320.4 MB, free: 43.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007624/0.01281, allocations: 0.502 MB / 320.9 MB, free: 43.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.844e-05/0.01285, allocations: 79.98 kB / 321 MB, free: 43.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.889e-05/0.01289, allocations: 17.62 kB / 321 MB, free: 43.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.01294, allocations: 86.2 kB / 321.1 MB, free: 43.11 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01294, allocations: 0 / 321.1 MB, free: 43.11 MB / 282.7 MB Notification: Performance of Templates: time 0.003219/0.01616, allocations: 1.65 MB / 322.8 MB, free: 41.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.sim & ./ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8477523890323937]