Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package ModelicaByExample with version 0.5.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 179.4 kB / 15.43 MB, free: 5.891 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.7 MB / 241.9 MB, free: 388 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03866/0.03866, allocations: 8.476 MB / 301.4 MB, free: 5.633 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000769/0.0007688, allocations: 100.7 kB / 354.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003012, allocations: 7.562 kB / 417.2 MB, free: 89.46 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08185/0.08217, allocations: 52.12 MB / 469.3 MB, free: 42.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.001569/0.08378, allocations: 1.615 MB / 470.9 MB, free: 40.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005689/0.08437, allocations: 499 kB / 471.4 MB, free: 40.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.08444, allocations: 0 / 471.4 MB, free: 40.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.08449, allocations: 23.84 kB / 471.4 MB, free: 40.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.08462, allocations: 39.69 kB / 471.4 MB, free: 39.98 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.08477, allocations: 39.97 kB / 471.5 MB, free: 39.94 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.08491, allocations: 203.2 kB / 471.7 MB, free: 39.74 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.08508, allocations: 86.73 kB / 471.8 MB, free: 39.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.08522, allocations: 75.77 kB / 471.8 MB, free: 39.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.08531, allocations: 75.62 kB / 471.9 MB, free: 39.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.08534, allocations: 12 kB / 471.9 MB, free: 39.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.502e-05/0.08537, allocations: 12 kB / 471.9 MB, free: 39.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.08541, allocations: 43.78 kB / 472 MB, free: 39.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.08549, allocations: 113.3 kB / 472.1 MB, free: 39.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.08563, allocations: 203.5 kB / 472.3 MB, free: 39.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.08564, allocations: 0 / 472.3 MB, free: 39.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.08565, allocations: 4 kB / 472.3 MB, free: 39.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.08566, allocations: 0 / 472.3 MB, free: 39.12 MB / 330.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.0005424/0.08621, allocations: 455.4 kB / 472.7 MB, free: 38.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.08625, allocations: 15.97 kB / 472.8 MB, free: 38.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.0863, allocations: 20.66 kB / 472.8 MB, free: 38.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.814e-05/0.08639, allocations: 188.2 kB / 473 MB, free: 38.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.08642, allocations: 20.81 kB / 473 MB, free: 38.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.08646, allocations: 24.28 kB / 473 MB, free: 38.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.08673, allocations: 195.6 kB / 473.2 MB, free: 38.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.08676, allocations: 0 / 473.2 MB, free: 38.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.08678, allocations: 8 kB / 473.2 MB, free: 38.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.08679, allocations: 8 kB / 473.2 MB, free: 38.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.08697, allocations: 117.6 kB / 473.3 MB, free: 38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000889/0.08786, allocations: 0.7369 MB / 474.1 MB, free: 37.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.08819, allocations: 267.6 kB / 474.3 MB, free: 36.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.08837, allocations: 112.8 kB / 474.4 MB, free: 36.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.08839, allocations: 0 / 474.4 MB, free: 36.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.08863, allocations: 127.2 kB / 474.6 MB, free: 36.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.08864, allocations: 0 / 474.6 MB, free: 36.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008078/0.08945, allocations: 0.632 MB / 475.2 MB, free: 35.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.08949, allocations: 63.41 kB / 475.3 MB, free: 35.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.377e-05/0.08956, allocations: 133.9 kB / 475.4 MB, free: 35.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.08958, allocations: 29.7 kB / 475.4 MB, free: 35.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.08963, allocations: 140 kB / 475.6 MB, free: 35.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.08967, allocations: 82.89 kB / 475.6 MB, free: 35.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.08968, allocations: 8 kB / 475.6 MB, free: 35.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.08973, allocations: 326.8 kB / 476 MB, free: 35.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.221e-05/0.08982, allocations: 59.97 kB / 476 MB, free: 35.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.08993, allocations: 132.5 kB / 476.1 MB, free: 34.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.09014, allocations: 206.9 kB / 476.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.09014, allocations: 0 / 476.3 MB, free: 34.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002664/0.09041, allocations: 254 kB / 476.6 MB, free: 34.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.09043, allocations: 8 kB / 476.6 MB, free: 34.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.09044, allocations: 3.984 kB / 476.6 MB, free: 34.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.09046, allocations: 4 kB / 476.6 MB, free: 34.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.09066, allocations: 59.92 kB / 476.7 MB, free: 34.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.09067, allocations: 7.984 kB / 476.7 MB, free: 34.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.09076, allocations: 11.94 kB / 476.7 MB, free: 34.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.09078, allocations: 12 kB / 476.7 MB, free: 34.37 MB / 330.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 ($PRE.intervalMeasure.last_time,intervalMeasure.last_time,$PRE.intervalMeasure.w,intervalMeasure.w,$whenCondition2,$whenCondition1,$PRE.intervalMeasure.next_phi,intervalMeasure.next_phi,$PRE.intervalMeasure.prev_phi,intervalMeasure.prev_phi) * 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.0001153/0.0909, allocations: 147.9 kB / 476.8 MB, free: 34.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.09093, allocations: 11.91 kB / 476.9 MB, free: 34.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.09097, allocations: 20.83 kB / 476.9 MB, free: 34.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.09098, allocations: 4 kB / 476.9 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.09099, allocations: 0 / 476.9 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.091, allocations: 3.938 kB / 476.9 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.09159, allocations: 0.6303 MB / 477.5 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.09161, allocations: 0 / 477.5 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.09181, allocations: 43.86 kB / 477.6 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.09182, allocations: 4 kB / 477.6 MB, free: 33.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.09184, allocations: 7.984 kB / 477.6 MB, free: 33.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.09185, allocations: 8.062 kB / 477.6 MB, free: 33.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.09186, allocations: 3.938 kB / 477.6 MB, free: 33.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.09219, allocations: 384.8 kB / 478 MB, free: 33.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.09223, allocations: 92.95 kB / 478.1 MB, free: 32.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.09226, allocations: 0 / 478.1 MB, free: 32.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.09236, allocations: 12 kB / 478.1 MB, free: 32.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.09241, allocations: 19.97 kB / 478.1 MB, free: 32.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.09243, allocations: 8 kB / 478.1 MB, free: 32.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.291e-05/0.09247, allocations: 99.27 kB / 478.2 MB, free: 32.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09248, allocations: 0 / 478.2 MB, free: 32.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.09273, allocations: 44 kB / 478.2 MB, free: 32.73 MB / 330.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 7.753e-05/0.09281, allocations: 128.1 kB / 478.4 MB, free: 32.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.09304, allocations: 179.8 kB / 478.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.09305, allocations: 0 / 478.5 MB, free: 32.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.09316, allocations: 91.84 kB / 478.6 MB, free: 32.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.09339, allocations: 8.812 kB / 478.6 MB, free: 32.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.09415, allocations: 0.7416 MB / 479.4 MB, free: 31.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.09428, allocations: 0.7286 MB / 480.1 MB, free: 30.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.231e-05/0.09434, allocations: 17.55 kB / 480.1 MB, free: 30.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.09438, allocations: 15.44 kB / 480.1 MB, free: 30.77 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.09439, allocations: 4 kB / 480.1 MB, free: 30.76 MB / 330.7 MB Notification: Performance of Templates: time 0.003124/0.09752, allocations: 1.419 MB / 481.6 MB, free: 29.35 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.makefile (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)