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.0008822/0.0008822, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001086/0.001086, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9013/0.9013, allocations: 158.6 MB / 184.9 MB, free: 2.91 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.02849/0.02849, allocations: 6.408 MB / 243.6 MB, free: 8.727 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.673e-06/1.673e-06, allocations: 0 / 310.7 MB, free: 51.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.695e-05, allocations: 3.297 kB / 310.7 MB, free: 51.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.002805/0.002832, allocations: 2.004 MB / 312.7 MB, free: 50.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00091/0.003742, allocations: 0.5724 MB / 313.3 MB, free: 50.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.003829, allocations: 8.75 kB / 313.3 MB, free: 50.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.078e-05/0.00389, allocations: 25.73 kB / 313.3 MB, free: 50.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.004018, allocations: 47.3 kB / 313.4 MB, free: 50.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.004192, allocations: 51.28 kB / 313.4 MB, free: 50.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.00439, allocations: 224.7 kB / 313.7 MB, free: 50.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.004542, allocations: 67.02 kB / 313.7 MB, free: 50.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.004752, allocations: 126.8 kB / 313.9 MB, free: 49.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.004853, allocations: 67.05 kB / 313.9 MB, free: 49.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.004885, allocations: 22 kB / 313.9 MB, free: 49.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-05/0.004914, allocations: 20.62 kB / 314 MB, free: 49.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.004951, allocations: 49.8 kB / 314 MB, free: 49.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.336e-05/0.005025, allocations: 71.59 kB / 314.1 MB, free: 49.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.005202, allocations: 144.8 kB / 314.2 MB, free: 49.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005203, allocations: 0 / 314.2 MB, free: 49.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005204, allocations: 0 / 314.2 MB, free: 49.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005209, allocations: 0 / 314.2 MB, free: 49.82 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.0005177/0.005727, allocations: 0.5109 MB / 314.7 MB, free: 49.38 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.005764, allocations: 18.23 kB / 314.8 MB, free: 49.37 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.005832, allocations: 40.42 kB / 314.8 MB, free: 49.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.256e-05/0.005915, allocations: 130.9 kB / 314.9 MB, free: 49.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.005934, allocations: 14.55 kB / 314.9 MB, free: 49.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.005978, allocations: 23.61 kB / 315 MB, free: 49.19 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.006227, allocations: 157.1 kB / 315.1 MB, free: 49.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.006239, allocations: 2.094 kB / 315.1 MB, free: 49.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.006257, allocations: 6.578 kB / 315.1 MB, free: 49.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.006269, allocations: 10.03 kB / 315.1 MB, free: 49.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.00642, allocations: 77.03 kB / 315.2 MB, free: 49.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.007278, allocations: 0.6172 MB / 315.8 MB, free: 48.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.007549, allocations: 143.8 kB / 316 MB, free: 48.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.007694, allocations: 79.64 kB / 316 MB, free: 48.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.007704, allocations: 7.938 kB / 316 MB, free: 48.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.007854, allocations: 111.2 kB / 316.2 MB, free: 48.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.007856, allocations: 4 kB / 316.2 MB, free: 48.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007438/0.0086, allocations: 0.4993 MB / 316.7 MB, free: 47.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.008624, allocations: 59.41 kB / 316.7 MB, free: 47.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.008695, allocations: 196.4 kB / 316.9 MB, free: 47.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.008707, allocations: 33.64 kB / 316.9 MB, free: 47.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.00875, allocations: 183.1 kB / 317.1 MB, free: 47.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.008788, allocations: 79.38 kB / 317.2 MB, free: 47.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.00885, allocations: 67.3 kB / 317.3 MB, free: 47.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.008893, allocations: 0.4962 MB / 317.8 MB, free: 46.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.008955, allocations: 31.98 kB / 317.8 MB, free: 46.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.009046, allocations: 133.4 kB / 317.9 MB, free: 46.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.009222, allocations: 184.7 kB / 318.1 MB, free: 46.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.009224, allocations: 0 / 318.1 MB, free: 46.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002621/0.009486, allocations: 223.7 kB / 318.3 MB, free: 45.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.0095, allocations: 11.98 kB / 318.3 MB, free: 45.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.009506, allocations: 0 / 318.3 MB, free: 45.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.009523, allocations: 4 kB / 318.3 MB, free: 45.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.009704, allocations: 71.84 kB / 318.4 MB, free: 45.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.009711, allocations: 7.938 kB / 318.4 MB, free: 45.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.222e-05/0.009783, allocations: 8 kB / 318.4 MB, free: 45.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.009797, allocations: 16.25 kB / 318.4 MB, free: 45.87 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.0001135/0.00991, allocations: 180.4 kB / 318.6 MB, free: 45.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.009937, allocations: 19.91 kB / 318.6 MB, free: 45.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.009971, allocations: 24.92 kB / 318.7 MB, free: 45.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.009974, allocations: 0 / 318.7 MB, free: 45.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.009979, allocations: 0 / 318.7 MB, free: 45.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.009984, allocations: 3.75 kB / 318.7 MB, free: 45.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.01052, allocations: 0.5551 MB / 319.2 MB, free: 45.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01053, allocations: 0 / 319.2 MB, free: 45.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.01067, allocations: 47.92 kB / 319.3 MB, free: 44.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01068, allocations: 0 / 319.3 MB, free: 44.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.01069, allocations: 7.984 kB / 319.3 MB, free: 44.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.01069, allocations: 0 / 319.3 MB, free: 44.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.0107, allocations: 4 kB / 319.3 MB, free: 44.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.01102, allocations: 395.7 kB / 319.7 MB, free: 44.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.01103, allocations: 15.91 kB / 319.7 MB, free: 44.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.01105, allocations: 4 kB / 319.7 MB, free: 44.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.01114, allocations: 16.03 kB / 319.7 MB, free: 44.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.01118, allocations: 19.91 kB / 319.7 MB, free: 44.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.0112, allocations: 8 kB / 319.7 MB, free: 44.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.01124, allocations: 143.2 kB / 319.9 MB, free: 44.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01124, allocations: 0 / 319.9 MB, free: 44.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002914/0.01153, allocations: 48 kB / 319.9 MB, free: 44.3 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 7.888e-05/0.01161, allocations: 109 kB / 320 MB, free: 44.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.01181, allocations: 139.8 kB / 320.2 MB, free: 44.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.01182, allocations: 4.062 kB / 320.2 MB, free: 44.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/0.0119, allocations: 76.8 kB / 320.2 MB, free: 43.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.01214, allocations: 17.81 kB / 320.2 MB, free: 43.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008395/0.01298, allocations: 0.5044 MB / 320.8 MB, free: 43.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.975e-05/0.01302, allocations: 79.98 kB / 320.8 MB, free: 43.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.036e-05/0.01307, allocations: 17.64 kB / 320.8 MB, free: 43.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.01311, allocations: 20.5 kB / 320.9 MB, free: 43.29 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01312, allocations: 0 / 320.9 MB, free: 43.29 MB / 282.7 MB Notification: Performance of Templates: time 0.003537/0.01665, allocations: 1.509 MB / 322.4 MB, free: 41.84 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: 3.0241424748674035]