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.001025/0.001025, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001196/0.001196, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9331/0.9331, allocations: 158.6 MB / 186 MB, free: 2.793 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.0293/0.0293, allocations: 6.415 MB / 244.7 MB, free: 8.559 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.232e-06/1.232e-06, allocations: 0 / 312 MB, free: 51.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.413e-05, allocations: 5.25 kB / 312 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.00253/0.002554, allocations: 1.986 MB / 314 MB, free: 50.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.003542, allocations: 0.5739 MB / 314.5 MB, free: 50.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.003682, allocations: 7.719 kB / 314.5 MB, free: 50.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.475e-05/0.003767, allocations: 21.11 kB / 314.6 MB, free: 50.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.003962, allocations: 48.47 kB / 314.6 MB, free: 50.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.004244, allocations: 55.12 kB / 314.7 MB, free: 50.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.004577, allocations: 225.9 kB / 314.9 MB, free: 49.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.004786, allocations: 64.78 kB / 314.9 MB, free: 49.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.005124, allocations: 130.4 kB / 315.1 MB, free: 49.83 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.005281, allocations: 63.78 kB / 315.1 MB, free: 49.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.005323, allocations: 21.78 kB / 315.2 MB, free: 49.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.332e-05/0.005366, allocations: 20.97 kB / 315.2 MB, free: 49.81 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.00542, allocations: 53.66 kB / 315.2 MB, free: 49.78 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.005508, allocations: 69.45 kB / 315.3 MB, free: 49.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.005735, allocations: 145.5 kB / 315.4 MB, free: 49.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.005739, allocations: 0.7031 kB / 315.4 MB, free: 49.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.00574, allocations: 1.469 kB / 315.4 MB, free: 49.67 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.005746, allocations: 3.781 kB / 315.4 MB, free: 49.67 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.0006058/0.006352, allocations: 0.5129 MB / 316 MB, free: 49.22 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.006396, allocations: 14.09 kB / 316 MB, free: 49.22 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/0.006476, allocations: 32.94 kB / 316 MB, free: 49.21 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.006596, allocations: 127.9 kB / 316.1 MB, free: 49.06 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.006626, allocations: 18.11 kB / 316.1 MB, free: 49.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.006668, allocations: 20.44 kB / 316.2 MB, free: 49.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.006859, allocations: 141.9 kB / 316.3 MB, free: 48.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.006872, allocations: 4.125 kB / 316.3 MB, free: 48.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.006889, allocations: 11.73 kB / 316.3 MB, free: 48.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.0069, allocations: 8.062 kB / 316.3 MB, free: 48.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.007004, allocations: 57.56 kB / 316.4 MB, free: 48.97 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/0.00771, allocations: 0.6179 MB / 317 MB, free: 48.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.00793, allocations: 137 kB / 317.1 MB, free: 48.24 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.008044, allocations: 71.62 kB / 317.2 MB, free: 48.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.008054, allocations: 4 kB / 317.2 MB, free: 48.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.008165, allocations: 111.1 kB / 317.3 MB, free: 48.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.008167, allocations: 0 / 317.3 MB, free: 48.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005263/0.008693, allocations: 459.4 kB / 317.8 MB, free: 47.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.008724, allocations: 59.41 kB / 317.8 MB, free: 47.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.008787, allocations: 193.8 kB / 318 MB, free: 47.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.008799, allocations: 29.7 kB / 318 MB, free: 47.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.008851, allocations: 183.1 kB / 318.2 MB, free: 47.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.008885, allocations: 87.3 kB / 318.3 MB, free: 46.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.008944, allocations: 63.33 kB / 318.4 MB, free: 46.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.009002, allocations: 0.4962 MB / 318.9 MB, free: 46.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.009032, allocations: 31.91 kB / 318.9 MB, free: 46.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.00909, allocations: 121.4 kB / 319 MB, free: 46.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.009213, allocations: 173.2 kB / 319.2 MB, free: 46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.009215, allocations: 7.938 kB / 319.2 MB, free: 46 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001676/0.009383, allocations: 191.7 kB / 319.4 MB, free: 45.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.009396, allocations: 11.98 kB / 319.4 MB, free: 45.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.009401, allocations: 256 / 319.4 MB, free: 45.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.009411, allocations: 8 kB / 319.4 MB, free: 45.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.009533, allocations: 67.91 kB / 319.5 MB, free: 45.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.009538, allocations: 7.938 kB / 319.5 MB, free: 45.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.009589, allocations: 8 kB / 319.5 MB, free: 45.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.0096, allocations: 12 kB / 319.5 MB, free: 45.69 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.0001104/0.00971, allocations: 183 kB / 319.7 MB, free: 45.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.00973, allocations: 19.91 kB / 319.7 MB, free: 45.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.009759, allocations: 20.92 kB / 319.7 MB, free: 45.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.009763, allocations: 8 kB / 319.7 MB, free: 45.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.009765, allocations: 0 / 319.7 MB, free: 45.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.00977, allocations: 0 / 319.7 MB, free: 45.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/0.01014, allocations: 0.5166 MB / 320.2 MB, free: 44.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01015, allocations: 0 / 320.2 MB, free: 44.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.785e-05/0.01024, allocations: 39.98 kB / 320.3 MB, free: 44.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01025, allocations: 7.938 kB / 320.3 MB, free: 44.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01026, allocations: 7.984 kB / 320.3 MB, free: 44.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.01026, allocations: 4.062 kB / 320.3 MB, free: 44.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01026, allocations: 4 kB / 320.3 MB, free: 44.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.01049, allocations: 376 kB / 320.7 MB, free: 44.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.01051, allocations: 19.89 kB / 320.7 MB, free: 44.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.01052, allocations: 4 kB / 320.7 MB, free: 44.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.01058, allocations: 8 kB / 320.7 MB, free: 44.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.01062, allocations: 27.84 kB / 320.7 MB, free: 44.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.01064, allocations: 4 kB / 320.7 MB, free: 44.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.93e-05/0.01067, allocations: 136.8 kB / 320.9 MB, free: 44.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01067, allocations: 0 / 320.9 MB, free: 44.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.01087, allocations: 55.98 kB / 320.9 MB, free: 44.19 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.906e-05/0.01097, allocations: 107.5 kB / 321 MB, free: 44.08 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.01113, allocations: 131.9 kB / 321.2 MB, free: 43.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01113, allocations: 0 / 321.2 MB, free: 43.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.371e-05/0.01118, allocations: 68.81 kB / 321.2 MB, free: 43.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.01135, allocations: 17.81 kB / 321.2 MB, free: 43.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.01201, allocations: 0.5054 MB / 321.7 MB, free: 43.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.363e-05/0.01204, allocations: 75.98 kB / 321.8 MB, free: 43.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.576e-05/0.01208, allocations: 17.64 kB / 321.8 MB, free: 43.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.01213, allocations: 86.2 kB / 321.9 MB, free: 43.14 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01213, allocations: 0 / 321.9 MB, free: 43.14 MB / 282.7 MB Notification: Performance of Templates: time 0.003086/0.01521, allocations: 1.683 MB / 323.6 MB, free: 41.51 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.8490814459510148]