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.0006853/0.0006853, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009605/0.001646, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006857/0.0006857, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008704/0.001556, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.8478/0.8478, allocations: 158.6 MB / 171 MB, free: 2.598 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1378/0.9855, allocations: 49.5 MB / 220.5 MB, free: 1.453 MB / 218.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.034/0.034, allocations: 6.411 MB / 227.7 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003879/0.03788, allocations: 2.169 MB / 229.8 MB, free: 8.148 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.503e-06/1.503e-06, allocations: 0 / 231 MB, free: 6.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.299e-05, allocations: 6.312 kB / 231 MB, free: 6.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.003144/0.003167, allocations: 2.031 MB / 233.1 MB, free: 4.902 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009877/0.004155, allocations: 0.5849 MB / 233.7 MB, free: 4.309 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.004332, allocations: 4 kB / 233.7 MB, free: 4.305 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.512e-05/0.004407, allocations: 23.73 kB / 233.7 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.004538, allocations: 51.5 kB / 233.7 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.004699, allocations: 55.92 kB / 233.8 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.004919, allocations: 211.1 kB / 234 MB, free: 3.969 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.00508, allocations: 71.02 kB / 234.1 MB, free: 3.902 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.005336, allocations: 135.8 kB / 234.2 MB, free: 3.77 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.005462, allocations: 63.73 kB / 234.3 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.005501, allocations: 20 kB / 234.3 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.308e-05/0.005534, allocations: 24 kB / 234.3 MB, free: 3.664 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.005575, allocations: 35.88 kB / 234.3 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.005651, allocations: 55.94 kB / 234.4 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.005853, allocations: 139.5 kB / 234.5 MB, free: 3.438 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.005869, allocations: 0 / 234.5 MB, free: 3.438 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.00587, allocations: 0 / 234.5 MB, free: 3.438 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.005886, allocations: 0 / 234.5 MB, free: 3.438 MB / 234.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.0006756/0.006561, allocations: 428.3 kB / 234.9 MB, free: 2.996 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.006598, allocations: 15.89 kB / 235 MB, free: 2.98 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.00667, allocations: 28.91 kB / 235 MB, free: 2.953 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.006785, allocations: 129.6 kB / 235.1 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.006809, allocations: 16.88 kB / 235.1 MB, free: 2.781 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.006852, allocations: 28.33 kB / 235.2 MB, free: 2.754 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.007065, allocations: 140.6 kB / 235.3 MB, free: 2.609 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.007079, allocations: 192 / 235.3 MB, free: 2.609 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.007096, allocations: 8.375 kB / 235.3 MB, free: 2.602 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.007107, allocations: 15.92 kB / 235.3 MB, free: 2.586 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.007217, allocations: 47.47 kB / 235.4 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009973/0.008214, allocations: 498.7 kB / 235.9 MB, free: 2.023 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.008463, allocations: 118.5 kB / 236 MB, free: 1.898 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.008596, allocations: 68.8 kB / 236 MB, free: 1.828 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.008605, allocations: 4 kB / 236 MB, free: 1.824 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.008782, allocations: 107.2 kB / 236.2 MB, free: 1.707 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 2.284e-06/0.008784, allocations: 0 / 236.2 MB, free: 1.707 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008642/0.009648, allocations: 421 kB / 236.6 MB, free: 1.262 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.009687, allocations: 67.28 kB / 236.6 MB, free: 1.184 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.009762, allocations: 138.5 kB / 236.8 MB, free: 1.035 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.009777, allocations: 33.7 kB / 236.8 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.009829, allocations: 132.4 kB / 236.9 MB, free: 0.8633 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.009869, allocations: 75.36 kB / 237 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.009924, allocations: 61.62 kB / 237.1 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.009998, allocations: 326.8 kB / 237.4 MB, free: 404 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.01003, allocations: 23.98 kB / 237.4 MB, free: 380 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.688e-05/0.01009, allocations: 95.91 kB / 237.5 MB, free: 252 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.01021, allocations: 144.9 kB / 237.6 MB, free: 80 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01021, allocations: 0 / 237.6 MB, free: 80 kB / 234.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001661/0.01038, allocations: 167.8 kB / 237.8 MB, free: 15.91 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01039, allocations: 7.938 kB / 237.8 MB, free: 15.9 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.0104, allocations: 7.984 kB / 237.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.01041, allocations: 7.938 kB / 237.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.0106, allocations: 79.91 kB / 237.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.0106, allocations: 0 / 237.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.072e-05/0.01065, allocations: 16.25 kB / 237.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.01066, allocations: 11.98 kB / 237.9 MB, free: 15.78 MB / 250.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.0001035/0.01076, allocations: 137.6 kB / 238.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.01078, allocations: 23.92 kB / 238.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.01081, allocations: 16.94 kB / 238.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01082, allocations: 4 kB / 238.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01082, allocations: 0 / 238.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01082, allocations: 3.938 kB / 238.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.0112, allocations: 373.5 kB / 238.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.0112, allocations: 0 / 238.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.01134, allocations: 63.8 kB / 238.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.01135, allocations: 15.84 kB / 238.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01135, allocations: 4 kB / 238.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.01136, allocations: 4 kB / 238.6 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.01137, allocations: 4 kB / 238.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01137, allocations: 0 / 238.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.01156, allocations: 277 kB / 238.8 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.01158, allocations: 8 kB / 238.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.306e-05/0.01163, allocations: 11.98 kB / 238.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.01166, allocations: 15.97 kB / 238.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.01168, allocations: 8 kB / 238.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.657e-05/0.01169, allocations: 16.84 kB / 238.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01169, allocations: 0 / 238.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.01186, allocations: 48 kB / 238.9 MB, free: 14.7 MB / 250.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.175e-05/0.01194, allocations: 92.3 kB / 239 MB, free: 14.6 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.01209, allocations: 124.6 kB / 239.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.0121, allocations: 0 / 239.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.665e-05/0.01216, allocations: 64.88 kB / 239.2 MB, free: 14.41 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.01229, allocations: 27.98 kB / 239.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.01463, allocations: 450.2 kB / 239.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.01467, allocations: 79.98 kB / 239.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.596e-05/0.01472, allocations: 13.64 kB / 239.8 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.01478, allocations: 75.36 kB / 239.8 MB, free: 13.73 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01478, allocations: 3.938 kB / 239.9 MB, free: 13.72 MB / 250.7 MB Notification: Performance of Templates: time 0.003284/0.01806, allocations: 1.768 MB / 241.6 MB, free: 11.96 MB / 250.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.394870989024639]