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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 102.6 kB / 18.19 MB, free: 3.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 188.4 kB / 21.34 MB, free: 0.8516 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 207.6 MB / 231.9 MB, free: 3.219 MB / 174.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05197/0.05197, allocations: 8.205 MB / 292.2 MB, free: 7.117 MB / 238.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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.002288/0.002288, allocations: 75.88 kB / 408.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2566, allocations: 50.89 MB / 459.8 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.002714/0.2593, allocations: 1.975 MB / 461.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008742/0.2602, allocations: 0.5709 MB / 462.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.2602, allocations: 6.75 kB / 462.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.903e-05/0.2603, allocations: 30.47 kB / 462.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.2604, allocations: 45.06 kB / 462.5 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.2607, allocations: 50.81 kB / 462.5 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.2608, allocations: 211 kB / 462.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.2611, allocations: 73.22 kB / 462.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.2612, allocations: 83.52 kB / 462.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.2613, allocations: 94.92 kB / 463 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.2614, allocations: 20.62 kB / 463 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.888e-05/0.2614, allocations: 26 kB / 463 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.2615, allocations: 49.33 kB / 463 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.2616, allocations: 99.22 kB / 463.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.2618, allocations: 218.1 kB / 463.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2618, allocations: 0 / 463.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2618, allocations: 1.375 kB / 463.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.2618, allocations: 0 / 463.4 MB, free: 1.207 MB / 318.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.0006431/0.2625, allocations: 493.3 kB / 463.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2625, allocations: 9.781 kB / 463.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.2626, allocations: 18.84 kB / 463.9 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.2627, allocations: 188.8 kB / 464.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.2627, allocations: 17.91 kB / 464.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.2627, allocations: 22.2 kB / 464.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.2631, allocations: 200.8 kB / 464.3 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.2631, allocations: 2 kB / 464.3 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.2631, allocations: 9.656 kB / 464.3 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2631, allocations: 4 kB / 464.3 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.2633, allocations: 119.9 kB / 464.4 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.2645, allocations: 0.7285 MB / 465.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.2649, allocations: 243.7 kB / 465.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.2652, allocations: 101.7 kB / 465.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.2652, allocations: 1.75 kB / 465.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.2655, allocations: 127.1 kB / 465.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.2655, allocations: 0 / 465.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001246/0.2668, allocations: 0.6418 MB / 466.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.2668, allocations: 60.03 kB / 466.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2669, allocations: 136.2 kB / 466.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.267, allocations: 31.98 kB / 466.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2671, allocations: 132 kB / 466.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/0.2672, allocations: 88.97 kB / 466.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.2672, allocations: 57.89 kB / 466.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2674, allocations: 327 kB / 467.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2675, allocations: 67.69 kB / 467.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.2677, allocations: 127 kB / 467.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.268, allocations: 209.6 kB / 467.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.268, allocations: 1.219 kB / 467.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004026/0.2684, allocations: 254.4 kB / 467.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2685, allocations: 9.359 kB / 467.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2685, allocations: 2.688 kB / 467.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2685, allocations: 3.438 kB / 467.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.2687, allocations: 58.45 kB / 467.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.2687, allocations: 8.453 kB / 467.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2688, allocations: 20.73 kB / 467.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.2688, allocations: 8.062 kB / 467.8 MB, free: 13.61 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.000229/0.2691, allocations: 149.9 kB / 468 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.2691, allocations: 10.39 kB / 468 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.2691, allocations: 22.17 kB / 468 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2692, allocations: 10.58 kB / 468 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2692, allocations: 0 / 468 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.2692, allocations: 5.219 kB / 468 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.2701, allocations: 0.6178 MB / 468.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2701, allocations: 1.156 kB / 468.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.2704, allocations: 45.23 kB / 468.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.2704, allocations: 9.047 kB / 468.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.2704, allocations: 7.125 kB / 468.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2704, allocations: 1.125 kB / 468.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2704, allocations: 4.969 kB / 468.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.2709, allocations: 393.9 kB / 469.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.271, allocations: 89.28 kB / 469.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.271, allocations: 6.312 kB / 469.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2711, allocations: 2.5 kB / 469.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.2712, allocations: 20.03 kB / 469.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.2712, allocations: 14.94 kB / 469.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.685e-05/0.2713, allocations: 98.45 kB / 469.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2713, allocations: 1.125 kB / 469.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.2716, allocations: 47.47 kB / 469.4 MB, free: 12.39 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.0001763/0.2718, allocations: 111.3 kB / 469.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.2721, allocations: 166.1 kB / 469.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2721, allocations: 0.5 kB / 469.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.2722, allocations: 86.44 kB / 469.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.2725, allocations: 17.44 kB / 469.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2736, allocations: 0.6178 MB / 470.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.274, allocations: 0.727 MB / 471.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.274, allocations: 22.78 kB / 471.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.274, allocations: 0 / 471.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Templates: time 0.004147/0.2782, allocations: 2.12 MB / 473.2 MB, free: 9.836 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]