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.001288/0.001288, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001471/0.001471, allocations: 221.3 kB / 23 MB, free: 4.914 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.313/1.313, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 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.05129/0.05129, allocations: 8.199 MB / 294.3 MB, free: 13.47 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.002238/0.002238, allocations: 69.55 kB / 411.7 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06594/0.06818, allocations: 50.93 MB / 462.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.003115/0.0713, allocations: 1.877 MB / 464.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.07223, allocations: 0.5626 MB / 465.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.07229, allocations: 0 / 465.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.709e-05/0.07235, allocations: 23.73 kB / 465.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.07248, allocations: 43.56 kB / 465.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.07265, allocations: 55.92 kB / 465.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.07287, allocations: 215.2 kB / 465.4 MB, free: 10 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.07305, allocations: 74.3 kB / 465.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.07322, allocations: 87.72 kB / 465.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.07335, allocations: 79.61 kB / 465.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.07339, allocations: 20 kB / 465.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.07343, allocations: 24 kB / 465.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.07347, allocations: 43.84 kB / 465.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.887e-05/0.07357, allocations: 83.66 kB / 465.8 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.07383, allocations: 223.2 kB / 466 MB, free: 9.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.07383, allocations: 0 / 466 MB, free: 9.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.07383, allocations: 3.938 kB / 466 MB, free: 9.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.07384, allocations: 4 kB / 466 MB, free: 9.375 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.0007216/0.07456, allocations: 417.9 kB / 466.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.07459, allocations: 11.98 kB / 466.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.07464, allocations: 20.84 kB / 466.5 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.07477, allocations: 126.2 kB / 466.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.0748, allocations: 16.81 kB / 466.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.07485, allocations: 28.3 kB / 466.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.07519, allocations: 199.6 kB / 466.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.0752, allocations: 0 / 466.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.07523, allocations: 12 kB / 466.8 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.07523, allocations: 7.984 kB / 466.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.07544, allocations: 113.7 kB / 467 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.07654, allocations: 0.579 MB / 467.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.07692, allocations: 174.4 kB / 467.7 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.07715, allocations: 96.81 kB / 467.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.07716, allocations: 4 kB / 467.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.07742, allocations: 123.6 kB / 467.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.07742, allocations: 4 kB / 467.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001091/0.07851, allocations: 0.5552 MB / 468.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.07856, allocations: 59.41 kB / 468.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.07868, allocations: 133.6 kB / 468.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.07871, allocations: 33.7 kB / 468.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.07881, allocations: 140.4 kB / 468.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.07888, allocations: 83.31 kB / 468.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.07896, allocations: 61.41 kB / 469 MB, free: 6.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.07913, allocations: 326.8 kB / 469.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.07924, allocations: 67.91 kB / 469.4 MB, free: 5.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.07941, allocations: 127.7 kB / 469.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.07971, allocations: 212.9 kB / 469.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.07972, allocations: 0 / 469.7 MB, free: 5.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003799/0.0801, allocations: 255.7 kB / 469.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.08011, allocations: 7.938 kB / 470 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.08012, allocations: 4.25 kB / 470 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.08013, allocations: 8 kB / 470 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.08035, allocations: 59.91 kB / 470 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.08036, allocations: 4.062 kB / 470 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.221e-05/0.08045, allocations: 19.94 kB / 470 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.08047, allocations: 8 kB / 470.1 MB, free: 5.07 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.0001737/0.08064, allocations: 153.6 kB / 470.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.08066, allocations: 7.953 kB / 470.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.08072, allocations: 20.94 kB / 470.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.08072, allocations: 8 kB / 470.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.08072, allocations: 3.938 kB / 470.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.08073, allocations: 3.984 kB / 470.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000816/0.08154, allocations: 0.5358 MB / 470.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.08155, allocations: 0 / 470.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.08174, allocations: 43.97 kB / 470.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.08174, allocations: 0 / 470.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.08176, allocations: 8 kB / 470.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.08176, allocations: 8 kB / 470.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.08177, allocations: 3.938 kB / 470.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.08227, allocations: 393.1 kB / 471.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.08229, allocations: 7.953 kB / 471.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.08232, allocations: 8 kB / 471.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.08244, allocations: 7.938 kB / 471.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.08249, allocations: 16.02 kB / 471.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.08251, allocations: 15.98 kB / 471.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.5e-05/0.08258, allocations: 95.27 kB / 471.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08258, allocations: 0 / 471.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.08288, allocations: 48 kB / 471.4 MB, free: 3.621 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 9.895e-05/0.08297, allocations: 110.6 kB / 471.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.08329, allocations: 171.8 kB / 471.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.08329, allocations: 3.938 kB / 471.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.08342, allocations: 83.84 kB / 471.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.08367, allocations: 10.19 kB / 471.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.08482, allocations: 0.6196 MB / 472.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.08498, allocations: 124.4 kB / 472.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.08503, allocations: 23.44 kB / 472.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.08503, allocations: 0 / 472.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of Templates: time 0.003861/0.08889, allocations: 2.182 MB / 474.7 MB, free: 248 kB / 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: 6.608836171682924] Failed to read output from testmodel.py, exit status != 0: 0.09610415901988745 0.111020851 0.034230300000000005 Calling exit ...