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.001095/0.001095, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00122/0.00122, allocations: 173 kB / 23.49 MB, free: 1.062 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.9337/0.9337, allocations: 158.6 MB / 185.3 MB, free: 2.926 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.03916/0.03916, allocations: 6.407 MB / 244 MB, free: 8.797 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.293e-06/1.293e-06, allocations: 0 / 310.8 MB, free: 52.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.391e-05, allocations: 3.953 kB / 310.8 MB, free: 52.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.002475/0.002499, allocations: 1.999 MB / 312.8 MB, free: 50.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.003449, allocations: 0.5672 MB / 313.3 MB, free: 50.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.003554, allocations: 3.156 kB / 313.3 MB, free: 50.54 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.352e-05/0.003617, allocations: 32.47 kB / 313.4 MB, free: 50.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.003763, allocations: 47.06 kB / 313.4 MB, free: 50.49 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.003976, allocations: 51.41 kB / 313.5 MB, free: 50.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.004187, allocations: 227.4 kB / 313.7 MB, free: 50.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.004357, allocations: 62.23 kB / 313.7 MB, free: 50.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.00461, allocations: 133.8 kB / 313.9 MB, free: 50.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.004732, allocations: 59.11 kB / 313.9 MB, free: 50.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.004769, allocations: 24 kB / 313.9 MB, free: 50.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/0.004797, allocations: 20.62 kB / 314 MB, free: 50.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.004844, allocations: 50.8 kB / 314 MB, free: 50.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.925e-05/0.004923, allocations: 75.39 kB / 314.1 MB, free: 50.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.005117, allocations: 137.9 kB / 314.2 MB, free: 50.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00512, allocations: 0 / 314.2 MB, free: 50.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005121, allocations: 0 / 314.2 MB, free: 50.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.005128, allocations: 1.375 kB / 314.2 MB, free: 50.11 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.0005921/0.00572, allocations: 0.5105 MB / 314.7 MB, free: 49.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.005759, allocations: 12.55 kB / 314.7 MB, free: 49.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.005832, allocations: 33.16 kB / 314.8 MB, free: 49.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.005927, allocations: 138.9 kB / 314.9 MB, free: 49.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.005947, allocations: 22 kB / 314.9 MB, free: 49.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.005987, allocations: 23.25 kB / 315 MB, free: 49.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.006215, allocations: 153.8 kB / 315.1 MB, free: 49.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.006228, allocations: 192 / 315.1 MB, free: 49.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.006246, allocations: 15.95 kB / 315.1 MB, free: 49.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.006258, allocations: 9 kB / 315.1 MB, free: 49.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.006385, allocations: 73.53 kB / 315.2 MB, free: 49.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.007198, allocations: 0.6149 MB / 315.8 MB, free: 48.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.007461, allocations: 151 kB / 316 MB, free: 48.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.007604, allocations: 77.02 kB / 316 MB, free: 48.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.007615, allocations: 8.125 kB / 316.1 MB, free: 48.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.00777, allocations: 112.2 kB / 316.2 MB, free: 48.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/0.007772, allocations: 1.375 kB / 316.2 MB, free: 48.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007658/0.008538, allocations: 0.5061 MB / 316.7 MB, free: 48.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.008572, allocations: 55.41 kB / 316.7 MB, free: 48.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.008646, allocations: 196.3 kB / 316.9 MB, free: 48.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.008657, allocations: 33.7 kB / 316.9 MB, free: 48.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.008704, allocations: 183.1 kB / 317.1 MB, free: 47.83 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.008735, allocations: 71.39 kB / 317.2 MB, free: 47.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.008787, allocations: 71.3 kB / 317.3 MB, free: 47.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.008834, allocations: 0.4923 MB / 317.8 MB, free: 47.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/0.008883, allocations: 31.98 kB / 317.8 MB, free: 47.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/0.008964, allocations: 129.4 kB / 317.9 MB, free: 46.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.009177, allocations: 197 kB / 318.1 MB, free: 46.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.009179, allocations: 3.938 kB / 318.1 MB, free: 46.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002141/0.009393, allocations: 215.7 kB / 318.3 MB, free: 46.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.009408, allocations: 7.984 kB / 318.3 MB, free: 46.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.009416, allocations: 4 kB / 318.3 MB, free: 46.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.009434, allocations: 1.875 kB / 318.3 MB, free: 46.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.009582, allocations: 68.16 kB / 318.4 MB, free: 46.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.009589, allocations: 8 kB / 318.4 MB, free: 46.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/0.009647, allocations: 15.94 kB / 318.4 MB, free: 46.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.009658, allocations: 12 kB / 318.4 MB, free: 46.42 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.0001266/0.009784, allocations: 180.4 kB / 318.6 MB, free: 46.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.009807, allocations: 23.89 kB / 318.6 MB, free: 46.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.009842, allocations: 20.94 kB / 318.7 MB, free: 46.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.009846, allocations: 4 kB / 318.7 MB, free: 46.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.00985, allocations: 3.938 kB / 318.7 MB, free: 46.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.009855, allocations: 0 / 318.7 MB, free: 46.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.01032, allocations: 0.5574 MB / 319.2 MB, free: 45.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01032, allocations: 0 / 319.2 MB, free: 45.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.01044, allocations: 39.92 kB / 319.3 MB, free: 45.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.01044, allocations: 4 kB / 319.3 MB, free: 45.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.01045, allocations: 7.984 kB / 319.3 MB, free: 45.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01046, allocations: 8 kB / 319.3 MB, free: 45.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01046, allocations: 0 / 319.3 MB, free: 45.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.0107, allocations: 403.8 kB / 319.7 MB, free: 45.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.01072, allocations: 11.91 kB / 319.7 MB, free: 45.08 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.01074, allocations: 8 kB / 319.7 MB, free: 45.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.01079, allocations: 0 / 319.7 MB, free: 45.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.01083, allocations: 23.91 kB / 319.7 MB, free: 45.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01085, allocations: 11.98 kB / 319.7 MB, free: 45.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.01089, allocations: 135.2 kB / 319.9 MB, free: 44.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01089, allocations: 0 / 319.9 MB, free: 44.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000183/0.01107, allocations: 48 kB / 319.9 MB, free: 44.86 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 8.355e-05/0.01116, allocations: 113 kB / 320 MB, free: 44.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.01133, allocations: 147.3 kB / 320.2 MB, free: 44.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01133, allocations: 0 / 320.2 MB, free: 44.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.0114, allocations: 76.75 kB / 320.2 MB, free: 44.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.01159, allocations: 21.8 kB / 320.3 MB, free: 44.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.01241, allocations: 0.4987 MB / 320.8 MB, free: 43.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.718e-05/0.01245, allocations: 79.98 kB / 320.8 MB, free: 43.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.828e-05/0.01249, allocations: 13.64 kB / 320.9 MB, free: 43.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.01253, allocations: 20.5 kB / 320.9 MB, free: 43.85 MB / 282.7 MB Notification: Performance of SimCode: time 1.453e-06/0.01253, allocations: 0 / 320.9 MB, free: 43.85 MB / 282.7 MB Notification: Performance of Templates: time 0.003362/0.01589, allocations: 1.508 MB / 322.4 MB, free: 42.39 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.9812996610999107]