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.001238/0.001238, allocations: 96.14 kB / 15.87 MB, free: 16 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.001266/0.001267, allocations: 192.9 kB / 16.79 MB, free: 6.812 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.726/1.726, allocations: 205.1 MB / 222.6 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04043/0.04043, allocations: 8.102 MB / 278.1 MB, free: 13.64 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.001441/0.001441, allocations: 63.92 kB / 337.2 MB, free: 27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 48.29 MB / 385.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.003799/0.1061, allocations: 2.015 MB / 387.5 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1075, allocations: 0.5659 MB / 388 MB, free: 8.047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.1077, allocations: 4 kB / 388 MB, free: 8.043 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.646e-05/0.1078, allocations: 19.84 kB / 388.1 MB, free: 8.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.108, allocations: 43.67 kB / 388.1 MB, free: 7.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1083, allocations: 39.97 kB / 388.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.1085, allocations: 203.2 kB / 388.3 MB, free: 7.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.1087, allocations: 78.73 kB / 388.4 MB, free: 7.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.109, allocations: 87.69 kB / 388.5 MB, free: 7.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.1092, allocations: 83.62 kB / 388.6 MB, free: 7.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.1092, allocations: 16 kB / 388.6 MB, free: 7.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.929e-05/0.1093, allocations: 16 kB / 388.6 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.1093, allocations: 39.84 kB / 388.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1095, allocations: 95.58 kB / 388.7 MB, free: 7.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.1097, allocations: 171.8 kB / 388.9 MB, free: 7.168 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1097, allocations: 0 / 388.9 MB, free: 7.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1097, allocations: 0 / 388.9 MB, free: 7.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1097, allocations: 0 / 388.9 MB, free: 7.168 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.0007736/0.1105, allocations: 483.3 kB / 389.4 MB, free: 6.645 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1105, allocations: 12.03 kB / 389.4 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.1106, allocations: 24.73 kB / 389.4 MB, free: 6.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1108, allocations: 188 kB / 389.6 MB, free: 6.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1108, allocations: 12.81 kB / 389.6 MB, free: 6.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.1109, allocations: 24.38 kB / 389.6 MB, free: 6.352 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.1112, allocations: 195.6 kB / 389.8 MB, free: 6.152 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1112, allocations: 3.938 kB / 389.8 MB, free: 6.148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.1113, allocations: 8 kB / 389.8 MB, free: 6.141 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1113, allocations: 4 kB / 389.8 MB, free: 6.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.1115, allocations: 121.7 kB / 390 MB, free: 6.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1127, allocations: 0.7329 MB / 390.7 MB, free: 5.223 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.1131, allocations: 259.6 kB / 390.9 MB, free: 4.941 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.1134, allocations: 112.8 kB / 391.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1134, allocations: 0 / 391.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.1137, allocations: 143.1 kB / 391.2 MB, free: 4.676 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.874e-06/0.1137, allocations: 0 / 391.2 MB, free: 4.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001129/0.1148, allocations: 0.638 MB / 391.8 MB, free: 3.984 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1149, allocations: 55.41 kB / 391.9 MB, free: 3.918 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.115, allocations: 133.7 kB / 392 MB, free: 3.781 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1151, allocations: 29.7 kB / 392.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.068e-05/0.1152, allocations: 140.1 kB / 392.2 MB, free: 3.602 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.1152, allocations: 78.91 kB / 392.3 MB, free: 3.523 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.1153, allocations: 57.69 kB / 392.3 MB, free: 3.461 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1155, allocations: 326.8 kB / 392.6 MB, free: 3.133 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1156, allocations: 59.98 kB / 392.7 MB, free: 3.074 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.1157, allocations: 143.4 kB / 392.8 MB, free: 2.902 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.116, allocations: 208.9 kB / 393 MB, free: 2.672 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.1161, allocations: 0 / 393 MB, free: 2.672 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000397/0.1165, allocations: 251.6 kB / 393.3 MB, free: 2.422 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1165, allocations: 10.66 kB / 393.3 MB, free: 2.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1165, allocations: 4.25 kB / 393.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1165, allocations: 4 kB / 393.3 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1168, allocations: 63.91 kB / 393.4 MB, free: 2.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1168, allocations: 8.062 kB / 393.4 MB, free: 2.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.681e-05/0.1169, allocations: 11.94 kB / 393.4 MB, free: 2.324 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1169, allocations: 12 kB / 393.4 MB, free: 2.312 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.0001727/0.1171, allocations: 138.9 kB / 393.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.1171, allocations: 19.81 kB / 393.6 MB, free: 2.148 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.1172, allocations: 20.84 kB / 393.6 MB, free: 2.129 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1172, allocations: 7.984 kB / 393.6 MB, free: 2.121 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1172, allocations: 7.875 kB / 393.6 MB, free: 2.113 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1172, allocations: 3.938 kB / 393.6 MB, free: 2.109 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.1181, allocations: 0.6144 MB / 394.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1181, allocations: 4 kB / 394.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.1183, allocations: 47.86 kB / 394.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1183, allocations: 0 / 394.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1183, allocations: 4 kB / 394.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1183, allocations: 0 / 394.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1183, allocations: 7.938 kB / 394.3 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.1188, allocations: 396.8 kB / 394.7 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.1189, allocations: 85.02 kB / 394.7 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.1189, allocations: 4 kB / 394.7 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.119, allocations: 8.031 kB / 394.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.1191, allocations: 15.98 kB / 394.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.1191, allocations: 8 kB / 394.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.082e-05/0.1192, allocations: 99.25 kB / 394.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1192, allocations: 4 kB / 394.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1195, allocations: 48 kB / 394.9 MB, free: 0.6758 MB / 286.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.0001414/0.1197, allocations: 107.2 kB / 395 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.12, allocations: 180.2 kB / 395.2 MB, free: 392 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.12, allocations: 0 / 395.2 MB, free: 392 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1201, allocations: 88.05 kB / 395.3 MB, free: 304 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.1204, allocations: 20.84 kB / 395.3 MB, free: 284 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1216, allocations: 0.6866 MB / 396 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1219, allocations: 0.7286 MB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.122, allocations: 19.44 kB / 396.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of SimCode: time 1.713e-06/0.122, allocations: 0 / 396.7 MB, free: 14.78 MB / 302.1 MB Notification: Performance of Templates: time 0.004717/0.1267, allocations: 2.068 MB / 398.8 MB, free: 12.73 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