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.001422/0.001422, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001879/0.001879, allocations: 177 kB / 23.36 MB, free: 1.133 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.9554/0.9554, allocations: 158.6 MB / 185.2 MB, free: 2.766 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.02729/0.02729, allocations: 6.419 MB / 244 MB, free: 8.609 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.093e-06/2.093e-06, allocations: 0 / 262.1 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.047e-05, allocations: 6.25 kB / 262.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.003448/0.003478, allocations: 2.003 MB / 264.1 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.004709, allocations: 0.5732 MB / 264.7 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.004815, allocations: 7.938 kB / 264.7 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.624e-05/0.004892, allocations: 27.78 kB / 264.7 MB, free: 3.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.005076, allocations: 51.48 kB / 264.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.005298, allocations: 51.92 kB / 264.8 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.005572, allocations: 215.1 kB / 265.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.005765, allocations: 66.95 kB / 265.1 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.00606, allocations: 131.8 kB / 265.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.006204, allocations: 67.78 kB / 265.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.006248, allocations: 24 kB / 265.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.00628, allocations: 20 kB / 265.4 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.00633, allocations: 43.83 kB / 265.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.829e-05/0.006418, allocations: 71.88 kB / 265.5 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.00664, allocations: 147.4 kB / 265.6 MB, free: 2.938 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.006643, allocations: 0 / 265.6 MB, free: 2.938 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.006644, allocations: 0 / 265.6 MB, free: 2.938 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.006648, allocations: 0 / 265.6 MB, free: 2.938 MB / 250.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.0005971/0.007245, allocations: 396.7 kB / 266 MB, free: 2.527 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.007285, allocations: 15.98 kB / 266 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.007349, allocations: 28.91 kB / 266 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.007468, allocations: 125.6 kB / 266.2 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.007492, allocations: 16.88 kB / 266.2 MB, free: 2.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.007539, allocations: 24.33 kB / 266.2 MB, free: 2.293 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.00776, allocations: 144.6 kB / 266.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.007773, allocations: 192 / 266.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.007794, allocations: 12.36 kB / 266.4 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.007805, allocations: 11.94 kB / 266.4 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.007913, allocations: 55.45 kB / 266.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009348/0.008847, allocations: 486.8 kB / 266.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.009105, allocations: 114.5 kB / 267 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.009244, allocations: 68.8 kB / 267.1 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.009256, allocations: 8 kB / 267.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.009432, allocations: 107.2 kB / 267.2 MB, free: 1.246 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.054e-06/0.009434, allocations: 0 / 267.2 MB, free: 1.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008274/0.01026, allocations: 409.1 kB / 267.6 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.01031, allocations: 67.33 kB / 267.7 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.68e-05/0.01041, allocations: 130.6 kB / 267.8 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.01043, allocations: 29.7 kB / 267.8 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.0105, allocations: 144.3 kB / 268 MB, free: 424 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.01057, allocations: 87.3 kB / 268 MB, free: 336 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.01065, allocations: 57.67 kB / 268.1 MB, free: 272 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.01077, allocations: 330.7 kB / 268.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.01082, allocations: 23.98 kB / 268.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.827e-05/0.01092, allocations: 87.92 kB / 268.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.0111, allocations: 156.9 kB / 268.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.0111, allocations: 0 / 268.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002469/0.01135, allocations: 159.8 kB / 268.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.01136, allocations: 7.938 kB / 268.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01137, allocations: 8.25 kB / 268.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.01139, allocations: 4 kB / 268.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.0116, allocations: 67.91 kB / 268.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01161, allocations: 3.938 kB / 268.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.01169, allocations: 15.98 kB / 268.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.01171, allocations: 8 kB / 269 MB, free: 15.34 MB / 266.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.0001318/0.01184, allocations: 125.8 kB / 269.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.01187, allocations: 19.98 kB / 269.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.01191, allocations: 20.88 kB / 269.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.01191, allocations: 8 kB / 269.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.01192, allocations: 0 / 269.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.01192, allocations: 3.984 kB / 269.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.01245, allocations: 384 kB / 269.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01245, allocations: 0 / 269.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.01262, allocations: 43.92 kB / 269.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.01263, allocations: 4 kB / 269.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.01265, allocations: 7.922 kB / 269.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.01266, allocations: 12 kB / 269.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.01266, allocations: 0 / 269.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.01296, allocations: 266.6 kB / 269.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.01298, allocations: 15.89 kB / 269.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.01301, allocations: 7.938 kB / 269.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.0131, allocations: 4 kB / 269.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.01315, allocations: 23.91 kB / 269.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.01317, allocations: 4 kB / 269.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.038e-05/0.0132, allocations: 25.33 kB / 269.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0132, allocations: 0 / 269.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003088/0.0135, allocations: 52 kB / 270 MB, free: 14.26 MB / 266.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.0001169/0.01362, allocations: 84.41 kB / 270 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.01381, allocations: 121.1 kB / 270.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.01382, allocations: 0 / 270.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.01393, allocations: 64.7 kB / 270.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.01413, allocations: 16.61 kB / 270.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.01503, allocations: 442.6 kB / 270.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.858e-05/0.0151, allocations: 83.98 kB / 270.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.01516, allocations: 17.64 kB / 270.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.01524, allocations: 67.38 kB / 270.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01524, allocations: 0 / 270.8 MB, free: 13.32 MB / 266.7 MB Notification: Performance of Templates: time 0.004711/0.01995, allocations: 1.654 MB / 272.5 MB, free: 11.67 MB / 266.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.6525091570802033]