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.0009669/0.0009669, allocations: 77.11 kB / 9.98 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002412, allocations: 448 kB / 10.42 MB, free: 276 kB / 10.45 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.0007559/0.0007559, allocations: 161.2 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.001945, allocations: 475.5 kB / 11.8 MB, free: 2.371 MB / 13.93 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.095/1.095, allocations: 158.6 MB / 171.1 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1868/1.282, allocations: 49.51 MB / 220.7 MB, free: 1.367 MB / 218.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.02871/0.02871, allocations: 6.409 MB / 227.8 MB, free: 10.23 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004796/0.0335, allocations: 2.177 MB / 230 MB, free: 8.039 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 2.194e-06/2.194e-06, allocations: 0 / 231.2 MB, free: 6.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.873e-05, allocations: 6.312 kB / 231.2 MB, free: 6.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.002235/0.002254, allocations: 2.035 MB / 233.3 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007145/0.002968, allocations: 0.5888 MB / 233.8 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.003044, allocations: 4 kB / 233.8 MB, free: 4.156 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.632e-05/0.0031, allocations: 23.73 kB / 233.9 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/0.003184, allocations: 51.55 kB / 233.9 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.003305, allocations: 55.92 kB / 234 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.003485, allocations: 211 kB / 234.2 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.003652, allocations: 71.03 kB / 234.3 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.003873, allocations: 143.7 kB / 234.4 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.004018, allocations: 59.84 kB / 234.5 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.00406, allocations: 20 kB / 234.5 MB, free: 3.535 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.013e-05/0.00409, allocations: 24 kB / 234.5 MB, free: 3.512 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.004138, allocations: 35.88 kB / 234.5 MB, free: 3.477 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.943e-05/0.004197, allocations: 63.88 kB / 234.6 MB, free: 3.414 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.004714, allocations: 131.5 kB / 234.7 MB, free: 3.285 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.359e-05/0.004727, allocations: 0 / 234.7 MB, free: 3.285 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004728, allocations: 0 / 234.7 MB, free: 3.285 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.004739, allocations: 0 / 234.7 MB, free: 3.285 MB / 234.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.0006287/0.005368, allocations: 432.3 kB / 235.1 MB, free: 2.84 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.005406, allocations: 15.89 kB / 235.2 MB, free: 2.824 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.00546, allocations: 28.91 kB / 235.2 MB, free: 2.797 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.005575, allocations: 125.6 kB / 235.3 MB, free: 2.648 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.005594, allocations: 20.81 kB / 235.3 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.00563, allocations: 24.33 kB / 235.4 MB, free: 2.605 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.00581, allocations: 140.6 kB / 235.5 MB, free: 2.461 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.005825, allocations: 192 / 235.5 MB, free: 2.461 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.005843, allocations: 12.36 kB / 235.5 MB, free: 2.449 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.005856, allocations: 11.94 kB / 235.5 MB, free: 2.438 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.354e-05/0.005929, allocations: 47.47 kB / 235.6 MB, free: 2.395 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.006657, allocations: 494.7 kB / 236 MB, free: 1.883 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.006875, allocations: 122.4 kB / 236.2 MB, free: 1.754 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.006984, allocations: 72.75 kB / 236.2 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.006995, allocations: 0 / 236.2 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.007163, allocations: 103.2 kB / 236.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 1.884e-06/0.007165, allocations: 0 / 236.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.000719/0.007884, allocations: 425 kB / 236.8 MB, free: 1.117 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.007929, allocations: 63.28 kB / 236.8 MB, free: 1.043 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.008017, allocations: 138.5 kB / 236.9 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.008036, allocations: 33.7 kB / 237 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.008101, allocations: 136.3 kB / 237.1 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.008148, allocations: 83.34 kB / 237.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.008204, allocations: 57.62 kB / 237.3 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.008296, allocations: 330.8 kB / 237.6 MB, free: 248 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.101e-05/0.008327, allocations: 23.98 kB / 237.6 MB, free: 224 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.008399, allocations: 95.91 kB / 237.7 MB, free: 96 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.008544, allocations: 145 kB / 237.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.008547, allocations: 3.984 kB / 237.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001625/0.008709, allocations: 171.6 kB / 238 MB, free: 15.75 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.008724, allocations: 7.938 kB / 238 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.008732, allocations: 8 kB / 238 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.008749, allocations: 4 kB / 238 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.00894, allocations: 79.89 kB / 238.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.008947, allocations: 4 kB / 238.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.008995, allocations: 12.25 kB / 238.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.009006, allocations: 12 kB / 238.1 MB, free: 15.62 MB / 250.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.0001327/0.009139, allocations: 137.7 kB / 238.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.009158, allocations: 15.94 kB / 238.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.009193, allocations: 20.92 kB / 238.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.009195, allocations: 0 / 238.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.0092, allocations: 4 kB / 238.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.009204, allocations: 0 / 238.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.009588, allocations: 377.5 kB / 238.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009589, allocations: 0 / 238.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.009729, allocations: 55.81 kB / 238.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.009745, allocations: 19.83 kB / 238.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009747, allocations: 0 / 238.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.00976, allocations: 8 kB / 238.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.009762, allocations: 0 / 238.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.009764, allocations: 4 kB / 238.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.009992, allocations: 281 kB / 239 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01001, allocations: 4 kB / 239 MB, free: 14.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.01006, allocations: 8 kB / 239 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.0101, allocations: 15.97 kB / 239.1 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.01012, allocations: 11.98 kB / 239.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.805e-05/0.01013, allocations: 17.34 kB / 239.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01013, allocations: 0 / 239.1 MB, free: 14.6 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.0103, allocations: 48 kB / 239.1 MB, free: 14.55 MB / 250.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.288e-05/0.01039, allocations: 92.34 kB / 239.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.01055, allocations: 125.2 kB / 239.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.01056, allocations: 4 kB / 239.4 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.01066, allocations: 76.88 kB / 239.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.01087, allocations: 87.33 kB / 239.5 MB, free: 14.15 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.01331, allocations: 450.6 kB / 240 MB, free: 13.68 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.157e-05/0.01336, allocations: 79.98 kB / 240 MB, free: 13.58 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.833e-05/0.01341, allocations: 13.64 kB / 240 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.01348, allocations: 79.31 kB / 240.1 MB, free: 13.49 MB / 250.7 MB Notification: Performance of SimCode: time 9.91e-07/0.01348, allocations: 0 / 240.1 MB, free: 13.49 MB / 250.7 MB Notification: Performance of Templates: time 0.004011/0.0175, allocations: 1.654 MB / 241.8 MB, free: 11.84 MB / 250.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.9116782350465655]