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.00179/0.00179, allocations: 84.73 kB / 19.44 MB, free: 348 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.002114/0.002114, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.504/1.504, allocations: 158.6 MB / 184.6 MB, free: 2.902 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.04946/0.04946, allocations: 6.421 MB / 243.3 MB, free: 8.785 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.044e-06/2.044e-06, allocations: 1.156 kB / 310 MB, free: 52.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.13e-05, allocations: 2.312 kB / 310 MB, free: 52.04 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.002879/0.002911, allocations: 1.886 MB / 311.9 MB, free: 50.79 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.00411, allocations: 0.5537 MB / 312.5 MB, free: 50.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.838e-05/0.004198, allocations: 8.75 kB / 312.5 MB, free: 50.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.903e-05/0.004277, allocations: 20.91 kB / 312.5 MB, free: 50.39 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.004461, allocations: 50.88 kB / 312.5 MB, free: 50.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.004706, allocations: 57.22 kB / 312.6 MB, free: 50.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.004976, allocations: 215.8 kB / 312.8 MB, free: 50.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.005203, allocations: 70.38 kB / 312.9 MB, free: 50.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.005525, allocations: 128.6 kB / 313 MB, free: 50.13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.005701, allocations: 63.44 kB / 313.1 MB, free: 50.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.685e-05/0.005758, allocations: 21 kB / 313.1 MB, free: 50.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.226e-05/0.00581, allocations: 21.78 kB / 313.1 MB, free: 50.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.005874, allocations: 49.22 kB / 313.2 MB, free: 50.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.006002, allocations: 74.59 kB / 313.2 MB, free: 50.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.006398, allocations: 232.9 kB / 313.5 MB, free: 49.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.006403, allocations: 1.719 kB / 313.5 MB, free: 49.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006404, allocations: 0 / 313.5 MB, free: 49.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.006411, allocations: 0 / 313.5 MB, free: 49.95 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.0008967/0.007307, allocations: 414.8 kB / 313.9 MB, free: 49.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.007349, allocations: 13.58 kB / 313.9 MB, free: 49.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.007459, allocations: 36.3 kB / 313.9 MB, free: 49.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.007605, allocations: 132.9 kB / 314 MB, free: 49.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.007637, allocations: 13.12 kB / 314.1 MB, free: 49.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.007711, allocations: 26.45 kB / 314.1 MB, free: 49.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.008191, allocations: 195.5 kB / 314.3 MB, free: 49.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.00821, allocations: 192 / 314.3 MB, free: 49.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.00824, allocations: 11.06 kB / 314.3 MB, free: 49.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.008251, allocations: 8.062 kB / 314.3 MB, free: 49.33 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.008597, allocations: 120.1 kB / 314.4 MB, free: 49.29 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.01005, allocations: 0.5888 MB / 315 MB, free: 48.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.01059, allocations: 167.6 kB / 315.2 MB, free: 48.81 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.0109, allocations: 108.6 kB / 315.3 MB, free: 48.76 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.01092, allocations: 2.969 kB / 315.3 MB, free: 48.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/0.0113, allocations: 124.1 kB / 315.4 MB, free: 48.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/0.0113, allocations: 0 / 315.4 MB, free: 48.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001469/0.01277, allocations: 0.5733 MB / 316 MB, free: 48.19 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.01281, allocations: 60.3 kB / 316 MB, free: 48.12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.01292, allocations: 126 kB / 316.1 MB, free: 47.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.01294, allocations: 33.7 kB / 316.2 MB, free: 47.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.01302, allocations: 143.6 kB / 316.3 MB, free: 47.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.01308, allocations: 80.22 kB / 316.4 MB, free: 47.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.972e-05/0.01318, allocations: 53.7 kB / 316.4 MB, free: 47.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.01325, allocations: 326.8 kB / 316.8 MB, free: 47.35 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.01341, allocations: 59.97 kB / 316.8 MB, free: 47.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.0136, allocations: 139.6 kB / 317 MB, free: 47.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.01387, allocations: 211.8 kB / 317.2 MB, free: 46.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01387, allocations: 0 / 317.2 MB, free: 46.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004894/0.01436, allocations: 263.7 kB / 317.4 MB, free: 46.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.01438, allocations: 4 kB / 317.4 MB, free: 46.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.01439, allocations: 4.25 kB / 317.4 MB, free: 46.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.01442, allocations: 11.98 kB / 317.4 MB, free: 46.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.01472, allocations: 56.67 kB / 317.5 MB, free: 46.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.01474, allocations: 7.938 kB / 317.5 MB, free: 46.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.0149, allocations: 15.94 kB / 317.5 MB, free: 46.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.01492, allocations: 12 kB / 317.5 MB, free: 46.52 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.0001891/0.01511, allocations: 143.4 kB / 317.7 MB, free: 46.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.01517, allocations: 15.95 kB / 317.7 MB, free: 46.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/0.01522, allocations: 24.92 kB / 317.7 MB, free: 46.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01523, allocations: 10.25 kB / 317.7 MB, free: 46.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.01523, allocations: 0 / 317.7 MB, free: 46.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.01524, allocations: 0 / 317.7 MB, free: 46.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00089/0.01613, allocations: 0.5423 MB / 318.3 MB, free: 45.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01613, allocations: 4 kB / 318.3 MB, free: 45.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.01642, allocations: 35.98 kB / 318.3 MB, free: 45.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01642, allocations: 0 / 318.3 MB, free: 45.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.01644, allocations: 11.94 kB / 318.3 MB, free: 45.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.01645, allocations: 4.062 kB / 318.3 MB, free: 45.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01645, allocations: 7.984 kB / 318.3 MB, free: 45.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.01695, allocations: 395.5 kB / 318.7 MB, free: 45.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.01697, allocations: 7.953 kB / 318.7 MB, free: 45.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.01701, allocations: 12.03 kB / 318.7 MB, free: 45.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.01719, allocations: 8 kB / 318.7 MB, free: 45.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.01726, allocations: 19.84 kB / 318.8 MB, free: 45.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.01728, allocations: 12 kB / 318.8 MB, free: 45.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.497e-05/0.01734, allocations: 96.52 kB / 318.9 MB, free: 45.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01734, allocations: 0 / 318.9 MB, free: 45.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005171/0.01786, allocations: 48 kB / 318.9 MB, free: 45.07 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.0001332/0.01799, allocations: 113 kB / 319 MB, free: 44.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004016/0.01839, allocations: 176.4 kB / 319.2 MB, free: 44.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01839, allocations: 0 / 319.2 MB, free: 44.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.01855, allocations: 75.91 kB / 319.3 MB, free: 44.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.019, allocations: 27.98 kB / 319.3 MB, free: 44.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.02004, allocations: 0.5054 MB / 319.8 MB, free: 44.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.964e-05/0.02014, allocations: 124.2 kB / 319.9 MB, free: 44.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.02022, allocations: 13.64 kB / 319.9 MB, free: 44.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.02029, allocations: 20.5 kB / 320 MB, free: 43.99 MB / 282.7 MB Notification: Performance of SimCode: time 3.61e-07/0.02029, allocations: 0 / 320 MB, free: 43.99 MB / 282.7 MB Notification: Performance of Templates: time 0.005496/0.02579, allocations: 1.504 MB / 321.5 MB, free: 42.55 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.439432110986672]