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.002073/0.002073, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002665/0.002665, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.528/1.528, allocations: 207.7 MB / 233.1 MB, free: 9.785 MB / 190.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.05237/0.05237, allocations: 8.208 MB / 293.5 MB, free: 13.45 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.002784/0.002784, allocations: 73.86 kB / 410.9 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.09381, allocations: 50.93 MB / 461.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.004742/0.09855, allocations: 1.875 MB / 463.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.09982, allocations: 0.5548 MB / 464.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.09997, allocations: 4 kB / 464.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.1001, allocations: 27.72 kB / 464.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1003, allocations: 39.62 kB / 464.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1005, allocations: 59.86 kB / 464.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.1008, allocations: 215.2 kB / 464.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.1011, allocations: 74.3 kB / 464.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1013, allocations: 83.78 kB / 464.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.1015, allocations: 79.61 kB / 464.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.1015, allocations: 20 kB / 464.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.227e-05/0.1016, allocations: 20 kB / 464.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.1017, allocations: 51.83 kB / 465 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1018, allocations: 83.59 kB / 465 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.102, allocations: 219.2 kB / 465.3 MB, free: 9.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1021, allocations: 3.938 kB / 465.3 MB, free: 9.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1021, allocations: 4 kB / 465.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1021, allocations: 0 / 465.3 MB, free: 9.359 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.0008292/0.1029, allocations: 421.9 kB / 465.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1029, allocations: 15.98 kB / 465.7 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.103, allocations: 16.84 kB / 465.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.1032, allocations: 130.3 kB / 465.8 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.1032, allocations: 16.81 kB / 465.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.1032, allocations: 20.38 kB / 465.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.1037, allocations: 203.6 kB / 466.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.1037, allocations: 0 / 466.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.1037, allocations: 4 kB / 466.1 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1038, allocations: 8 kB / 466.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.104, allocations: 117.6 kB / 466.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.1053, allocations: 0.5829 MB / 466.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.1057, allocations: 166.5 kB / 466.9 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.1059, allocations: 104.8 kB / 467 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.106, allocations: 0 / 467 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003335/0.1063, allocations: 127.6 kB / 467.2 MB, free: 7.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.1063, allocations: 0 / 467.2 MB, free: 7.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001241/0.1075, allocations: 0.563 MB / 467.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.1076, allocations: 59.41 kB / 467.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1077, allocations: 129.8 kB / 467.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1078, allocations: 29.7 kB / 467.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1079, allocations: 140.4 kB / 468.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.108, allocations: 83.33 kB / 468.2 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-05/0.108, allocations: 61.41 kB / 468.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1082, allocations: 326.8 kB / 468.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1083, allocations: 59.97 kB / 468.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1085, allocations: 135.6 kB / 468.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.1089, allocations: 216.9 kB / 468.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1089, allocations: 0 / 468.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000419/0.1093, allocations: 247.7 kB / 469.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1093, allocations: 8 kB / 469.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1093, allocations: 256 / 469.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.1094, allocations: 15.92 kB / 469.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.1096, allocations: 59.92 kB / 469.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.1096, allocations: 4 kB / 469.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.1097, allocations: 11.98 kB / 469.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1097, allocations: 8 kB / 469.3 MB, free: 5.059 MB / 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.0002133/0.11, allocations: 149.6 kB / 469.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.11, allocations: 11.95 kB / 469.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.11, allocations: 16.94 kB / 469.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.11, allocations: 11.98 kB / 469.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1101, allocations: 0 / 469.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1101, allocations: 0 / 469.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000917/0.111, allocations: 0.5436 MB / 470 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.111, allocations: 0 / 470 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.1112, allocations: 43.92 kB / 470.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.1112, allocations: 7.984 kB / 470.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1112, allocations: 0 / 470.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.1112, allocations: 12.08 kB / 470.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1112, allocations: 3.984 kB / 470.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.1118, allocations: 393.1 kB / 470.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.1118, allocations: 7.953 kB / 470.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.1118, allocations: 12.05 kB / 470.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.112, allocations: 15.92 kB / 470.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.112, allocations: 11.97 kB / 470.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.112, allocations: 12 kB / 470.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1122, allocations: 99.14 kB / 470.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1122, allocations: 0 / 470.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.1125, allocations: 48 kB / 470.7 MB, free: 3.602 MB / 334.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.0001438/0.1126, allocations: 120.1 kB / 470.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.113, allocations: 163.8 kB / 471 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.113, allocations: 4 kB / 471 MB, free: 3.316 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.1131, allocations: 83.78 kB / 471 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1134, allocations: 12 kB / 471.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.1146, allocations: 0.5906 MB / 471.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.1148, allocations: 120.5 kB / 471.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.864e-05/0.1148, allocations: 17.64 kB / 471.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.1149, allocations: 23.38 kB / 471.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1149, allocations: 3.938 kB / 471.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Templates: time 0.00575/0.1206, allocations: 1.675 MB / 473.5 MB, free: 0.7695 MB / 334.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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.720556143671274] Failed to read output from testmodel.py, exit status != 0: 0.1300462745130062 0.14693671099999994 0.04158385599999994 Calling exit ...