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.001872/0.001872, allocations: 81.5 kB / 19.44 MB, free: 344 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.001981/0.001981, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.355/1.355, allocations: 158.6 MB / 184.6 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.06062/0.06062, allocations: 6.405 MB / 243.3 MB, free: 8.656 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.954e-06/1.954e-06, allocations: 0.6562 kB / 310 MB, free: 51.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.673e-05, allocations: 3.688 kB / 310 MB, free: 51.76 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.004265/0.004292, allocations: 1.972 MB / 312 MB, free: 50.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.005588, allocations: 0.5687 MB / 312.6 MB, free: 50.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.005695, allocations: 5.188 kB / 312.6 MB, free: 50.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.005804, allocations: 25.83 kB / 312.6 MB, free: 50.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.006009, allocations: 46.77 kB / 312.6 MB, free: 50.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.006251, allocations: 51.36 kB / 312.7 MB, free: 49.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.00654, allocations: 219.8 kB / 312.9 MB, free: 49.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.006783, allocations: 72.86 kB / 313 MB, free: 49.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.007092, allocations: 120.7 kB / 313.1 MB, free: 49.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.007284, allocations: 75.94 kB / 313.2 MB, free: 49.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.007338, allocations: 21 kB / 313.2 MB, free: 49.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.681e-05/0.007395, allocations: 22.03 kB / 313.2 MB, free: 49.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.007452, allocations: 44.89 kB / 313.3 MB, free: 49.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.007579, allocations: 74.28 kB / 313.3 MB, free: 49.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.007985, allocations: 237 kB / 313.6 MB, free: 49.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.00799, allocations: 2.109 kB / 313.6 MB, free: 49.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007991, allocations: 0 / 313.6 MB, free: 49.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.007997, allocations: 0 / 313.6 MB, free: 49.61 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.0009276/0.008924, allocations: 0.5198 MB / 314.1 MB, free: 49.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.008966, allocations: 14.17 kB / 314.1 MB, free: 49.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.009083, allocations: 31.38 kB / 314.1 MB, free: 49.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.009205, allocations: 143 kB / 314.3 MB, free: 49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.009236, allocations: 14.31 kB / 314.3 MB, free: 48.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.009299, allocations: 22.41 kB / 314.3 MB, free: 48.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.009778, allocations: 193.9 kB / 314.5 MB, free: 48.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.0098, allocations: 192 / 314.5 MB, free: 48.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.009829, allocations: 7.312 kB / 314.5 MB, free: 48.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.009839, allocations: 8.594 kB / 314.5 MB, free: 48.88 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003502/0.01019, allocations: 118.5 kB / 314.6 MB, free: 48.85 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.01177, allocations: 0.6808 MB / 315.3 MB, free: 48.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.01234, allocations: 183.6 kB / 315.5 MB, free: 48.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.01271, allocations: 110.1 kB / 315.6 MB, free: 48.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.01273, allocations: 4 kB / 315.6 MB, free: 48.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/0.01304, allocations: 132.8 kB / 315.7 MB, free: 48.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/0.01304, allocations: 4 kB / 315.7 MB, free: 48.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001504/0.01454, allocations: 0.5818 MB / 316.3 MB, free: 47.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.01458, allocations: 60.66 kB / 316.4 MB, free: 47.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.01472, allocations: 202.3 kB / 316.6 MB, free: 47.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.01474, allocations: 33.7 kB / 316.6 MB, free: 47.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.01482, allocations: 185.6 kB / 316.8 MB, free: 47.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.784e-05/0.0149, allocations: 90.77 kB / 316.9 MB, free: 46.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.01502, allocations: 71.92 kB / 316.9 MB, free: 46.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.0151, allocations: 0.504 MB / 317.4 MB, free: 46.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.01526, allocations: 59.97 kB / 317.5 MB, free: 46.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.01548, allocations: 165.4 kB / 317.7 MB, free: 46.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.01587, allocations: 240 kB / 317.9 MB, free: 45.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.01587, allocations: 4 kB / 317.9 MB, free: 45.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005497/0.01642, allocations: 264.9 kB / 318.2 MB, free: 45.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.01644, allocations: 8 kB / 318.2 MB, free: 45.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.01645, allocations: 4 kB / 318.2 MB, free: 45.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.01647, allocations: 11.92 kB / 318.2 MB, free: 45.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.01684, allocations: 63.92 kB / 318.2 MB, free: 45.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.01686, allocations: 7.984 kB / 318.3 MB, free: 45.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.01701, allocations: 12.25 kB / 318.3 MB, free: 45.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.01703, allocations: 16 kB / 318.3 MB, free: 45.44 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.0001926/0.01723, allocations: 190.2 kB / 318.5 MB, free: 45.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.01727, allocations: 19.95 kB / 318.5 MB, free: 45.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.01734, allocations: 23.08 kB / 318.5 MB, free: 45.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.01734, allocations: 4 kB / 318.5 MB, free: 45.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01735, allocations: 3.938 kB / 318.5 MB, free: 45.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.01735, allocations: 0 / 318.5 MB, free: 45.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.01843, allocations: 0.6253 MB / 319.1 MB, free: 44.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.01843, allocations: 4 kB / 319.1 MB, free: 44.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.01875, allocations: 39.92 kB / 319.2 MB, free: 44.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01876, allocations: 0 / 319.2 MB, free: 44.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.01878, allocations: 11.98 kB / 319.2 MB, free: 44.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.01878, allocations: 0 / 319.2 MB, free: 44.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.01879, allocations: 4 kB / 319.2 MB, free: 44.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006547/0.01944, allocations: 459.7 kB / 319.7 MB, free: 43.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.01947, allocations: 15.89 kB / 319.7 MB, free: 43.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.01951, allocations: 8 kB / 319.7 MB, free: 43.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.01968, allocations: 8.062 kB / 319.7 MB, free: 43.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.01975, allocations: 19.91 kB / 319.7 MB, free: 43.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.01979, allocations: 12 kB / 319.7 MB, free: 43.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.822e-05/0.01986, allocations: 144.8 kB / 319.9 MB, free: 43.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01986, allocations: 0 / 319.9 MB, free: 43.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005294/0.02038, allocations: 51.98 kB / 319.9 MB, free: 43.73 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 0.0001174/0.0205, allocations: 109.8 kB / 320 MB, free: 43.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004402/0.02094, allocations: 196.8 kB / 320.2 MB, free: 43.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02094, allocations: 4 kB / 320.2 MB, free: 43.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.02114, allocations: 91.59 kB / 320.3 MB, free: 43.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.02157, allocations: 13.81 kB / 320.3 MB, free: 43.31 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.0227, allocations: 0.5265 MB / 320.8 MB, free: 42.76 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.02281, allocations: 116.2 kB / 321 MB, free: 42.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.188e-05/0.02289, allocations: 21.64 kB / 321 MB, free: 42.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.02297, allocations: 16.5 kB / 321 MB, free: 42.59 MB / 282.7 MB Notification: Performance of SimCode: time 5.92e-07/0.02297, allocations: 0 / 321 MB, free: 42.59 MB / 282.7 MB Notification: Performance of Templates: time 0.00712/0.03009, allocations: 1.511 MB / 322.5 MB, free: 41.14 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: 4.413484691991471]