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.000938/0.000938, allocations: 80.75 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.0009676/0.0009676, allocations: 181 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.8899/0.8899, allocations: 158.6 MB / 185.2 MB, free: 2.758 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.03395/0.03395, allocations: 6.415 MB / 244 MB, free: 8.617 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.283e-06/1.283e-06, allocations: 0 / 262.2 MB, free: 6.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.219e-05, allocations: 6.25 kB / 262.2 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.002866/0.002878, allocations: 2.031 MB / 264.2 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.003738, allocations: 0.5809 MB / 264.8 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.003804, allocations: 4 kB / 264.8 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.037e-05/0.003865, allocations: 27.73 kB / 264.8 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.003987, allocations: 47.55 kB / 264.9 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.00414, allocations: 55.86 kB / 264.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.004333, allocations: 227 kB / 265.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.00447, allocations: 63.02 kB / 265.2 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.004664, allocations: 131.8 kB / 265.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.004774, allocations: 59.86 kB / 265.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.004805, allocations: 24 kB / 265.4 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.681e-05/0.004832, allocations: 20 kB / 265.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.004871, allocations: 43.83 kB / 265.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.004938, allocations: 75.81 kB / 265.5 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.005105, allocations: 143.5 kB / 265.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005107, allocations: 0 / 265.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005108, allocations: 4 kB / 265.7 MB, free: 2.859 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.005111, allocations: 0 / 265.7 MB, free: 2.859 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.0004744/0.005586, allocations: 388.7 kB / 266.1 MB, free: 2.457 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.005616, allocations: 19.92 kB / 266.1 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.005665, allocations: 24.92 kB / 266.1 MB, free: 2.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.357e-05/0.005758, allocations: 133.6 kB / 266.2 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.005779, allocations: 16.88 kB / 266.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.00581, allocations: 28.27 kB / 266.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.005983, allocations: 144.6 kB / 266.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.005994, allocations: 192 / 266.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.006008, allocations: 8.375 kB / 266.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.006017, allocations: 7.938 kB / 266.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.258e-05/0.006099, allocations: 51.47 kB / 266.5 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.00682, allocations: 490.8 kB / 267 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.007027, allocations: 114.5 kB / 267.1 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.00714, allocations: 72.81 kB / 267.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.007149, allocations: 4 kB / 267.2 MB, free: 1.289 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.007286, allocations: 99.25 kB / 267.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.007287, allocations: 4 kB / 267.3 MB, free: 1.176 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006951/0.007983, allocations: 417 kB / 267.7 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.008017, allocations: 67.34 kB / 267.7 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.008093, allocations: 134.6 kB / 267.9 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.008109, allocations: 29.7 kB / 267.9 MB, free: 488 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.008166, allocations: 140.3 kB / 268 MB, free: 344 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.008217, allocations: 83.31 kB / 268.1 MB, free: 260 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.008281, allocations: 57.67 kB / 268.2 MB, free: 196 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.008375, allocations: 326.8 kB / 268.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/0.008411, allocations: 23.98 kB / 268.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.0085, allocations: 103.8 kB / 268.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.008653, allocations: 152.9 kB / 268.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.008654, allocations: 0 / 268.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001918/0.008846, allocations: 167.8 kB / 268.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.008858, allocations: 7.938 kB / 268.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.008864, allocations: 4 kB / 268.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.008878, allocations: 7.984 kB / 268.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.009087, allocations: 67.91 kB / 269 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.009093, allocations: 7.984 kB / 269 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.536e-05/0.009159, allocations: 8 kB / 269 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.009172, allocations: 15.94 kB / 269 MB, free: 15.25 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.0001899/0.009362, allocations: 137.9 kB / 269.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.00939, allocations: 19.92 kB / 269.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.009421, allocations: 20.94 kB / 269.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009423, allocations: 0 / 269.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.009425, allocations: 0 / 269.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.009431, allocations: 7.984 kB / 269.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.009856, allocations: 381.4 kB / 269.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.009858, allocations: 64 / 269.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.01002, allocations: 55.88 kB / 269.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01003, allocations: 7.938 kB / 269.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01004, allocations: 4 kB / 269.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01004, allocations: 4 kB / 269.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01004, allocations: 0 / 269.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.01027, allocations: 265 kB / 269.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.01029, allocations: 19.84 kB / 269.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.01031, allocations: 4 kB / 270 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.01039, allocations: 11.98 kB / 270 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.01043, allocations: 19.97 kB / 270 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.01044, allocations: 4 kB / 270 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.16e-05/0.01047, allocations: 20.84 kB / 270 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01047, allocations: 0 / 270 MB, free: 14.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.01072, allocations: 48 kB / 270.1 MB, free: 14.16 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 7.844e-05/0.0108, allocations: 92.34 kB / 270.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.01096, allocations: 121.5 kB / 270.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01096, allocations: 4.125 kB / 270.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.01103, allocations: 68.81 kB / 270.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.0112, allocations: 15.98 kB / 270.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.01191, allocations: 438.1 kB / 270.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.917e-05/0.01197, allocations: 83.98 kB / 270.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.133e-05/0.01202, allocations: 13.64 kB / 270.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.293e-05/0.0121, allocations: 71.38 kB / 270.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.0121, allocations: 0 / 270.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of Templates: time 0.003962/0.01606, allocations: 1.735 MB / 272.7 MB, free: 11.48 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.659955744165927]