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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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=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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006903/0.0006902, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007848/0.0007849, allocations: 172.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.035/0.035, allocations: 8.11 MB / 279.5 MB, free: 13.11 MB / 238.1 MB 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.0004632/0.0004633, allocations: 19.12 kB / 339.5 MB, free: 26.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06833/0.06881, allocations: 49.27 MB / 388.8 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.001844/0.07068, allocations: 1.661 MB / 390.5 MB, free: 7.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008352/0.07155, allocations: 0.562 MB / 391 MB, free: 7.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.832e-05/0.07165, allocations: 0 / 391 MB, free: 7.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.278e-05/0.07171, allocations: 15.86 kB / 391.1 MB, free: 7.074 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.07186, allocations: 35.73 kB / 391.1 MB, free: 7.039 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.07203, allocations: 55.89 kB / 391.1 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.07222, allocations: 207.2 kB / 391.3 MB, free: 6.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.0724, allocations: 78.73 kB / 391.4 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.07255, allocations: 63.78 kB / 391.5 MB, free: 6.645 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.07267, allocations: 83.61 kB / 391.6 MB, free: 6.562 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.0727, allocations: 12 kB / 391.6 MB, free: 6.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.427e-05/0.07273, allocations: 12 kB / 391.6 MB, free: 6.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.07277, allocations: 31.86 kB / 391.6 MB, free: 6.508 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.274e-05/0.07288, allocations: 113.3 kB / 391.7 MB, free: 6.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.07305, allocations: 171.8 kB / 391.9 MB, free: 6.223 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.07306, allocations: 0 / 391.9 MB, free: 6.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.07306, allocations: 3.938 kB / 391.9 MB, free: 6.219 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.07308, allocations: 0 / 391.9 MB, free: 6.219 MB / 286.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.0005761/0.07366, allocations: 455.4 kB / 392.3 MB, free: 5.727 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.0737, allocations: 8.031 kB / 392.4 MB, free: 5.719 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.07376, allocations: 24.69 kB / 392.4 MB, free: 5.695 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.0739, allocations: 184.1 kB / 392.6 MB, free: 5.477 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.07393, allocations: 16.81 kB / 392.6 MB, free: 5.457 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.07398, allocations: 24.38 kB / 392.6 MB, free: 5.434 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.07428, allocations: 195.6 kB / 392.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.0743, allocations: 0 / 392.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.07433, allocations: 8 kB / 392.8 MB, free: 5.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.07434, allocations: 4 kB / 392.8 MB, free: 5.227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.07454, allocations: 117.7 kB / 392.9 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.07558, allocations: 0.7446 MB / 393.7 MB, free: 4.301 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.07596, allocations: 263.6 kB / 393.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.07617, allocations: 108.8 kB / 394 MB, free: 3.906 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.0762, allocations: 7.938 kB / 394 MB, free: 3.898 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.07642, allocations: 131.3 kB / 394.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.07643, allocations: 0 / 394.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009765/0.07741, allocations: 0.6418 MB / 394.8 MB, free: 3.062 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.07747, allocations: 63.41 kB / 394.9 MB, free: 2.988 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.07757, allocations: 125.7 kB / 395 MB, free: 2.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.07759, allocations: 33.7 kB / 395 MB, free: 2.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.07767, allocations: 132.2 kB / 395.1 MB, free: 2.684 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.07774, allocations: 78.89 kB / 395.2 MB, free: 2.605 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.07779, allocations: 37.7 kB / 395.3 MB, free: 2.562 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.07791, allocations: 326.8 kB / 395.6 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.533e-05/0.07801, allocations: 63.97 kB / 395.6 MB, free: 2.172 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.07816, allocations: 139.4 kB / 395.8 MB, free: 2.004 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.07842, allocations: 212.8 kB / 396 MB, free: 1.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.07842, allocations: 0 / 396 MB, free: 1.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003292/0.07876, allocations: 247.8 kB / 396.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.07878, allocations: 8 kB / 396.2 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.07879, allocations: 0 / 396.2 MB, free: 1.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.07881, allocations: 7.984 kB / 396.2 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.07901, allocations: 63.86 kB / 396.3 MB, free: 1.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.07903, allocations: 4 kB / 396.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.739e-05/0.07912, allocations: 15.92 kB / 396.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.07914, allocations: 12 kB / 396.3 MB, free: 1.414 MB / 286.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.0001473/0.0793, allocations: 150.9 kB / 396.5 MB, free: 1.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.07933, allocations: 11.91 kB / 396.5 MB, free: 1.246 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.07937, allocations: 12.84 kB / 396.5 MB, free: 1.234 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.07938, allocations: 4 kB / 396.5 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.07939, allocations: 3.984 kB / 396.5 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.0794, allocations: 3.938 kB / 396.5 MB, free: 1.223 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007368/0.08014, allocations: 0.6261 MB / 397.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.08016, allocations: 0 / 397.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.08034, allocations: 51.86 kB / 397.2 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.08036, allocations: 0 / 397.2 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.08038, allocations: 11.98 kB / 397.2 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.08039, allocations: 4.062 kB / 397.2 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.098e-06/0.0804, allocations: 0 / 397.2 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.08081, allocations: 384.8 kB / 397.6 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.08089, allocations: 96.89 kB / 397.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.08093, allocations: 8 kB / 397.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.08103, allocations: 8 kB / 397.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.08108, allocations: 19.97 kB / 397.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.08111, allocations: 8 kB / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.941e-05/0.08116, allocations: 95.27 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08117, allocations: 4 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.08144, allocations: 44 kB / 397.9 MB, free: 15.77 MB / 302.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.607e-05/0.08155, allocations: 109.7 kB / 398 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.08184, allocations: 184.3 kB / 398.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.08185, allocations: 0 / 398.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.08197, allocations: 95.83 kB / 398.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.08221, allocations: 15.86 kB / 398.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.08315, allocations: 0.7737 MB / 399 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.08342, allocations: 0.7286 MB / 399.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.08348, allocations: 19.44 kB / 399.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.08348, allocations: 0 / 399.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Templates: time 0.003405/0.08689, allocations: 2.049 MB / 401.8 MB, free: 11.75 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasureCalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasureCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasureCalcHelperMain.o] Error 1