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.001391/0.001391, allocations: 81.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001501/0.001501, allocations: 158.9 kB / 23.01 MB, free: 4.945 MB / 14.72 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.414/1.414, allocations: 158.6 MB / 184.8 MB, free: 6.184 MB / 174.1 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.04898/0.04898, allocations: 6.426 MB / 243.4 MB, free: 12.71 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 71.89 kB / 360.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.09183, allocations: 50.91 MB / 411.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.003455/0.09528, allocations: 1.883 MB / 413.6 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.09637, allocations: 0.5509 MB / 414.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.09648, allocations: 7.938 kB / 414.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.17e-05/0.09656, allocations: 23.73 kB / 414.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.09672, allocations: 47.55 kB / 414.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.09692, allocations: 55.92 kB / 414.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.09718, allocations: 223.1 kB / 414.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.09736, allocations: 70.36 kB / 414.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.09756, allocations: 83.78 kB / 414.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.09771, allocations: 75.61 kB / 414.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.09775, allocations: 20 kB / 414.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.515e-05/0.09778, allocations: 20 kB / 414.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.249e-05/0.09783, allocations: 47.84 kB / 414.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.09794, allocations: 75.72 kB / 414.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.09821, allocations: 231.1 kB / 415.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09821, allocations: 0 / 415.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09821, allocations: 0 / 415.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.09823, allocations: 4 kB / 415.1 MB, free: 4.727 MB / 334.1 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.0007496/0.09898, allocations: 414.1 kB / 415.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.09901, allocations: 15.98 kB / 415.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.09907, allocations: 20.78 kB / 415.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.09921, allocations: 130.3 kB / 415.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.09923, allocations: 12.88 kB / 415.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.09928, allocations: 24.36 kB / 415.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.09963, allocations: 204.4 kB / 415.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.09965, allocations: 0 / 415.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.09967, allocations: 11.92 kB / 415.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.09968, allocations: 8 kB / 415.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.09993, allocations: 117.9 kB / 416.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.1011, allocations: 0.5716 MB / 416.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.1015, allocations: 170.5 kB / 416.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.1017, allocations: 104.8 kB / 416.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1017, allocations: 0 / 416.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.102, allocations: 123.6 kB / 417 MB, free: 2.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.102, allocations: 0 / 417 MB, free: 2.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.00113/0.1031, allocations: 0.5823 MB / 417.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1032, allocations: 55.41 kB / 417.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.1033, allocations: 129.8 kB / 417.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1033, allocations: 29.7 kB / 417.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1034, allocations: 140.4 kB / 418 MB, free: 1.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/0.1035, allocations: 87.27 kB / 418 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/0.1036, allocations: 65.39 kB / 418.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1038, allocations: 322.8 kB / 418.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1039, allocations: 63.92 kB / 418.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.1041, allocations: 131.7 kB / 418.6 MB, free: 1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.1044, allocations: 210.6 kB / 418.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1044, allocations: 0 / 418.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004031/0.1048, allocations: 255.7 kB / 419.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1048, allocations: 8 kB / 419.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1048, allocations: 256 / 419.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.1049, allocations: 8 kB / 419.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.1051, allocations: 67.84 kB / 419.1 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1051, allocations: 4 kB / 419.1 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.534e-05/0.1052, allocations: 8 kB / 419.2 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.1052, allocations: 12 kB / 419.2 MB, free: 420 kB / 334.1 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.0001933/0.1054, allocations: 145.7 kB / 419.3 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.1055, allocations: 15.95 kB / 419.3 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.1055, allocations: 12.94 kB / 419.3 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1055, allocations: 11.94 kB / 419.4 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1055, allocations: 0 / 419.4 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1055, allocations: 0 / 419.4 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008721/0.1064, allocations: 0.5462 MB / 419.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1064, allocations: 0 / 419.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.1066, allocations: 43.91 kB / 419.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.1066, allocations: 4 kB / 419.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1066, allocations: 4 kB / 419.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.1066, allocations: 8 kB / 420 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1066, allocations: 4 kB / 420 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.1072, allocations: 385 kB / 420.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.1072, allocations: 11.89 kB / 420.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1072, allocations: 8 kB / 420.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1073, allocations: 11.94 kB / 420.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.1074, allocations: 16.02 kB / 420.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.1074, allocations: 11.98 kB / 420.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.934e-05/0.1075, allocations: 103.1 kB / 420.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1075, allocations: 0 / 420.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.1078, allocations: 44 kB / 420.5 MB, free: 14.96 MB / 350.1 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.0001299/0.108, allocations: 115.1 kB / 420.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1083, allocations: 167.8 kB / 420.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1083, allocations: 0 / 420.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1084, allocations: 81.34 kB / 420.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.1087, allocations: 16 kB / 420.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1097, allocations: 0.5865 MB / 421.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.1098, allocations: 124.4 kB / 421.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.798e-05/0.1099, allocations: 17.62 kB / 421.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.1099, allocations: 20.5 kB / 421.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1099, allocations: 0 / 421.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Templates: time 0.004862/0.1148, allocations: 1.468 MB / 423.1 MB, free: 12.34 MB / 350.1 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 -s ida -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.550123543012887] Failed to read output from testmodel.py, exit status != 0: 0.12236556597054005 0.28204983100000003 0.036403034 Calling exit ...