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.001015/0.001015, allocations: 99.05 kB / 15.71 MB, free: 452 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.001033/0.001033, allocations: 175.3 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04028/0.04028, allocations: 8.101 MB / 279.1 MB, free: 13.23 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.0006162/0.0006163, allocations: 16 kB / 338.9 MB, free: 27.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1256, allocations: 49.28 MB / 388.2 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.00226/0.1279, allocations: 1.619 MB / 389.8 MB, free: 8.078 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.1288, allocations: 0.5389 MB / 390.3 MB, free: 7.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/0.1289, allocations: 4 kB / 390.3 MB, free: 7.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.639e-05/0.129, allocations: 23.84 kB / 390.4 MB, free: 7.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1291, allocations: 35.69 kB / 390.4 MB, free: 7.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.1293, allocations: 39.95 kB / 390.4 MB, free: 7.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.1296, allocations: 203.2 kB / 390.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1298, allocations: 66.17 kB / 390.7 MB, free: 7.168 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.13, allocations: 71.77 kB / 390.8 MB, free: 7.098 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1301, allocations: 75.69 kB / 390.8 MB, free: 7.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1301, allocations: 12 kB / 390.9 MB, free: 7.012 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.921e-05/0.1302, allocations: 12 kB / 390.9 MB, free: 7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.1302, allocations: 27.91 kB / 390.9 MB, free: 6.973 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.1303, allocations: 69.56 kB / 391 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.1305, allocations: 167.8 kB / 391.1 MB, free: 6.734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1305, allocations: 0 / 391.1 MB, free: 6.734 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1305, allocations: 0 / 391.1 MB, free: 6.734 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1305, allocations: 0 / 391.1 MB, free: 6.734 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.0006901/0.1312, allocations: 447.3 kB / 391.6 MB, free: 6.246 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.1313, allocations: 16.03 kB / 391.6 MB, free: 6.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.1313, allocations: 23.73 kB / 391.6 MB, free: 6.207 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1315, allocations: 190.7 kB / 391.8 MB, free: 5.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.1315, allocations: 16.44 kB / 391.8 MB, free: 5.965 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.1316, allocations: 20 kB / 391.8 MB, free: 5.945 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.132, allocations: 191.3 kB / 392 MB, free: 5.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.132, allocations: 0 / 392 MB, free: 5.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.132, allocations: 11.94 kB / 392 MB, free: 5.738 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.132, allocations: 4 kB / 392 MB, free: 5.734 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.1322, allocations: 113.7 kB / 392.1 MB, free: 5.625 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1334, allocations: 0.7446 MB / 392.9 MB, free: 4.816 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.1338, allocations: 263.6 kB / 393.1 MB, free: 4.531 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.134, allocations: 104.8 kB / 393.2 MB, free: 4.426 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1341, allocations: 4.344 kB / 393.2 MB, free: 4.422 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.1344, allocations: 132.7 kB / 393.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 3.336e-06/0.1344, allocations: 3.984 kB / 393.4 MB, free: 4.277 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001182/0.1356, allocations: 0.6361 MB / 394 MB, free: 3.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.1356, allocations: 59.39 kB / 394.1 MB, free: 3.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1358, allocations: 141.4 kB / 394.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.1358, allocations: 33.7 kB / 394.2 MB, free: 3.336 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.136, allocations: 128.2 kB / 394.4 MB, free: 3.203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.136, allocations: 74.91 kB / 394.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.1361, allocations: 8 kB / 394.5 MB, free: 3.121 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1362, allocations: 322.8 kB / 394.8 MB, free: 2.797 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1363, allocations: 63.97 kB / 394.8 MB, free: 2.734 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.1365, allocations: 139.4 kB / 395 MB, free: 2.566 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1367, allocations: 77.16 kB / 395 MB, free: 2.492 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1367, allocations: 8 kB / 395.1 MB, free: 2.484 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003582/0.137, allocations: 255.8 kB / 395.3 MB, free: 2.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1371, allocations: 6.656 kB / 395.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1371, allocations: 4 kB / 395.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1371, allocations: 4 kB / 395.3 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1373, allocations: 55.91 kB / 395.4 MB, free: 2.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.1373, allocations: 7.938 kB / 395.4 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.1374, allocations: 16.25 kB / 395.4 MB, free: 2.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.1375, allocations: 12 kB / 395.4 MB, free: 2.129 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 ($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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.1377, allocations: 142.8 kB / 395.5 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.1377, allocations: 19.75 kB / 395.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.1377, allocations: 20.84 kB / 395.6 MB, free: 1.945 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1378, allocations: 3.938 kB / 395.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1378, allocations: 4 kB / 395.6 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1378, allocations: 0 / 395.6 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.1386, allocations: 0.626 MB / 396.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1386, allocations: 3.938 kB / 396.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.1388, allocations: 48.03 kB / 396.3 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1388, allocations: 0 / 396.3 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.1388, allocations: 8 kB / 396.3 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1389, allocations: 3.938 kB / 396.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1389, allocations: 4 kB / 396.3 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.1393, allocations: 380.8 kB / 396.7 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.1394, allocations: 89.02 kB / 396.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1394, allocations: 8 kB / 396.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1395, allocations: 12.03 kB / 396.8 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.1396, allocations: 11.98 kB / 396.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.1396, allocations: 8 kB / 396.8 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.929e-05/0.1397, allocations: 103.2 kB / 396.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1397, allocations: 0 / 396.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.14, allocations: 51.95 kB / 396.9 MB, free: 0.4922 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001306/0.1402, allocations: 123.1 kB / 397.1 MB, free: 372 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.1405, allocations: 176.3 kB / 397.2 MB, free: 196 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1405, allocations: 0 / 397.2 MB, free: 196 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1406, allocations: 91.84 kB / 397.3 MB, free: 104 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.1409, allocations: 19.84 kB / 397.3 MB, free: 84 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.142, allocations: 0.7426 MB / 398.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1424, allocations: 0.7325 MB / 398.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.1424, allocations: 15.44 kB / 398.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of SimCode: time 1.382e-06/0.1425, allocations: 0 / 398.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of Templates: time 0.004059/0.1465, allocations: 2.042 MB / 400.9 MB, free: 12.49 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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