Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.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.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006148/0.006148, allocations: 100.5 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 187 kB / 16.79 MB, free: 5.805 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.707/1.707, allocations: 205.1 MB / 222.7 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04173/0.04173, allocations: 8.111 MB / 278.1 MB, free: 13.39 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.001311/0.001311, allocations: 59.92 kB / 337.1 MB, free: 27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1119, allocations: 48.3 MB / 385.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.004458/0.1164, allocations: 1.957 MB / 387.4 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005633/0.117, allocations: 147.5 kB / 387.6 MB, free: 8.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.1173, allocations: 4 kB / 387.6 MB, free: 8.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.1174, allocations: 15.91 kB / 387.6 MB, free: 8.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1175, allocations: 35.69 kB / 387.6 MB, free: 8.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1178, allocations: 39.97 kB / 387.6 MB, free: 8.438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.118, allocations: 163.3 kB / 387.8 MB, free: 8.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.1182, allocations: 74.06 kB / 387.9 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.1183, allocations: 55.86 kB / 387.9 MB, free: 8.145 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1184, allocations: 83.61 kB / 388 MB, free: 8.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.1184, allocations: 16 kB / 388 MB, free: 8.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.673e-05/0.1185, allocations: 12 kB / 388 MB, free: 8.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.1185, allocations: 31.86 kB / 388.1 MB, free: 8.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.1186, allocations: 71.67 kB / 388.1 MB, free: 7.934 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1188, allocations: 147.9 kB / 388.3 MB, free: 7.789 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1188, allocations: 3.938 kB / 388.3 MB, free: 7.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1188, allocations: 0 / 388.3 MB, free: 7.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1188, allocations: 0 / 388.3 MB, free: 7.785 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.000629/0.1195, allocations: 451 kB / 388.7 MB, free: 7.293 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1195, allocations: 16.02 kB / 388.7 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.1196, allocations: 16.75 kB / 388.8 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.1197, allocations: 172.3 kB / 388.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1198, allocations: 12.38 kB / 388.9 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.1198, allocations: 20.38 kB / 389 MB, free: 7.023 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.1201, allocations: 154.1 kB / 389.1 MB, free: 6.867 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.1202, allocations: 8.094 kB / 389.1 MB, free: 6.859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.1202, allocations: 7.938 kB / 389.1 MB, free: 6.852 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1202, allocations: 4 kB / 389.1 MB, free: 6.848 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.1204, allocations: 111.8 kB / 389.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1215, allocations: 0.6715 MB / 389.9 MB, free: 6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.122, allocations: 231.6 kB / 390.1 MB, free: 5.746 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.1222, allocations: 88.81 kB / 390.2 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1222, allocations: 0 / 390.2 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.1222, allocations: 42.5 kB / 390.3 MB, free: 5.605 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.1222, allocations: 0 / 390.3 MB, free: 5.605 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008393/0.1231, allocations: 491.9 kB / 390.7 MB, free: 5.082 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.1231, allocations: 55.41 kB / 390.8 MB, free: 5.016 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.1232, allocations: 125.8 kB / 390.9 MB, free: 4.883 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1233, allocations: 29.7 kB / 391 MB, free: 4.848 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.1233, allocations: 124.1 kB / 391.1 MB, free: 4.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.1234, allocations: 63.08 kB / 391.1 MB, free: 4.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.1235, allocations: 45.72 kB / 391.2 MB, free: 4.609 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1236, allocations: 318.8 kB / 391.5 MB, free: 4.289 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.03e-05/0.1237, allocations: 43.92 kB / 391.5 MB, free: 4.246 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1238, allocations: 86.22 kB / 391.6 MB, free: 4.145 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.124, allocations: 149 kB / 391.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.124, allocations: 0 / 391.8 MB, free: 3.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002576/0.1243, allocations: 176.8 kB / 391.9 MB, free: 3.805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1243, allocations: 12.16 kB / 391.9 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1243, allocations: 0 / 391.9 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1243, allocations: 4 kB / 392 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.1245, allocations: 51.91 kB / 392 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.1245, allocations: 4 kB / 392 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.1246, allocations: 7.938 kB / 392 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1246, allocations: 8 kB / 392 MB, free: 3.719 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001116/0.1247, allocations: 129.8 kB / 392.1 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.1248, allocations: 7.906 kB / 392.2 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.1248, allocations: 20.83 kB / 392.2 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1248, allocations: 4 kB / 392.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1248, allocations: 0 / 392.2 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1249, allocations: 3.938 kB / 392.2 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.1255, allocations: 490.2 kB / 392.7 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1255, allocations: 0 / 392.7 MB, free: 3.012 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.1257, allocations: 47.86 kB / 392.7 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1257, allocations: 0 / 392.7 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1257, allocations: 4 kB / 392.7 MB, free: 2.961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1257, allocations: 4 kB / 392.7 MB, free: 2.957 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1257, allocations: 3.984 kB / 392.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.126, allocations: 267.4 kB / 393 MB, free: 2.676 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.1261, allocations: 88.95 kB / 393.1 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1261, allocations: 4 kB / 393.1 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.1262, allocations: 8 kB / 393.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.1262, allocations: 8.031 kB / 393.1 MB, free: 2.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1262, allocations: 4 kB / 393.1 MB, free: 2.547 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.555e-05/0.1263, allocations: 99.64 kB / 393.2 MB, free: 2.449 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.442e-06/0.1263, allocations: 3.938 kB / 393.2 MB, free: 2.445 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1266, allocations: 35.94 kB / 393.2 MB, free: 2.41 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertia2.flange_a.phi,inertia2.w,inertia1.flange_a.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0001152/0.1267, allocations: 99.19 kB / 393.3 MB, free: 2.301 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1269, allocations: 119.8 kB / 393.4 MB, free: 2.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1269, allocations: 4 kB / 393.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.17e-05/0.127, allocations: 55.91 kB / 393.5 MB, free: 2.125 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1273, allocations: 15.73 kB / 393.5 MB, free: 2.113 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/0.1282, allocations: 0.6064 MB / 394.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1285, allocations: 0.7204 MB / 394.8 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.1286, allocations: 15.44 kB / 394.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1286, allocations: 0 / 394.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of Templates: time 0.003285/0.1319, allocations: 1.55 MB / 396.4 MB, free: 15.15 MB / 302.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.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.PlantCalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantCalcHelperMain.o] Error 1