Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/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(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008564/0.0008562, allocations: 103 kB / 15.71 MB, free: 460 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.001014/0.001014, allocations: 173.6 kB / 16.58 MB, free: 6.383 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.151/2.151, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.0509/0.0509, allocations: 11.84 MB / 282.9 MB, free: 9.477 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: OpenHydraulics requested package Modelica of version 3.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.0005891/0.0005891, allocations: 20 kB / 343.6 MB, free: 22.46 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1189, allocations: 50.21 MB / 393.8 MB, free: 4.195 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003054/0.122, allocations: 2.707 MB / 396.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1242, allocations: 1.436 MB / 397.9 MB, free: 32 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1244, allocations: 8 kB / 397.9 MB, free: 24 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1246, allocations: 31.86 kB / 398 MB, free: 15.99 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:14:14-14:26:writable] Warning: 'each' used when modifying non-array element p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Interfaces/NPort.mo:13:65-13:72:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.125, allocations: 131 kB / 398.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006238/0.1256, allocations: 275.2 kB / 398.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.126, allocations: 298.5 kB / 398.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1262, allocations: 63.2 kB / 398.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1263, allocations: 91.64 kB / 398.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1266, allocations: 119.5 kB / 398.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.1266, allocations: 8 kB / 398.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.1269, allocations: 199.6 kB / 399.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.127, allocations: 39.83 kB / 399.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.1271, allocations: 73.58 kB / 399.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.1274, allocations: 263.6 kB / 399.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1274, allocations: 0 / 399.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1275, allocations: 4 kB / 399.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1275, allocations: 0 / 399.5 MB, free: 14.45 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007924/0.1283, allocations: 0.5103 MB / 400 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1283, allocations: 11.97 kB / 400 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.1284, allocations: 23.72 kB / 400 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1287, allocations: 242.7 kB / 400.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1288, allocations: 16.38 kB / 400.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1288, allocations: 16 kB / 400.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.1292, allocations: 222.6 kB / 400.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1292, allocations: 0 / 400.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.1293, allocations: 8 kB / 400.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1293, allocations: 7.953 kB / 400.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.1296, allocations: 144 kB / 400.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.1311, allocations: 1.126 MB / 401.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.1315, allocations: 142.4 kB / 401.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.1316, allocations: 56.83 kB / 402 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003437/0.132, allocations: 332.4 kB / 402.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.132, allocations: 34.5 kB / 402.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.132, allocations: 4 kB / 402.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001908/0.134, allocations: 0.6889 MB / 403 MB, free: 10.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.134, allocations: 55.31 kB / 403.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.1343, allocations: 215.2 kB / 403.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1343, allocations: 29.69 kB / 403.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.1345, allocations: 140.3 kB / 403.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.1346, allocations: 67.08 kB / 403.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/0.1346, allocations: 4 kB / 403.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.1348, allocations: 330.8 kB / 403.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.135, allocations: 69.19 kB / 403.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1352, allocations: 110.7 kB / 404 MB, free: 9.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1354, allocations: 71.91 kB / 404.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1354, allocations: 0 / 404.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004188/0.1358, allocations: 220.8 kB / 404.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1358, allocations: 4 kB / 404.3 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1359, allocations: 0 / 404.3 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1359, allocations: 4 kB / 404.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.1361, allocations: 68.06 kB / 404.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.1362, allocations: 7.969 kB / 404.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1363, allocations: 8 kB / 404.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.1363, allocations: 12 kB / 404.4 MB, free: 9.051 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 22 * 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.0002396/0.1366, allocations: 142.6 kB / 404.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.1366, allocations: 23.75 kB / 404.6 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.1371, allocations: 231.3 kB / 404.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1371, allocations: 4 kB / 404.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1372, allocations: 0 / 404.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1372, allocations: 0 / 404.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008548/0.138, allocations: 0.5645 MB / 405.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.138, allocations: 0 / 405.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.1383, allocations: 55.91 kB / 405.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1383, allocations: 0 / 405.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.1383, allocations: 15.98 kB / 405.5 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1383, allocations: 4 kB / 405.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1384, allocations: 0 / 405.5 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.139, allocations: 363 kB / 405.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1391, allocations: 112.8 kB / 405.9 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.1391, allocations: 8 kB / 405.9 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1393, allocations: 19.92 kB / 406 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.1394, allocations: 7.984 kB / 406 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1394, allocations: 4 kB / 406 MB, free: 7.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.1396, allocations: 171.1 kB / 406.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1396, allocations: 0 / 406.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.14, allocations: 99.98 kB / 406.2 MB, free: 7.148 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.000307/0.1403, allocations: 163.1 kB / 406.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.1407, allocations: 147.8 kB / 406.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1407, allocations: 320 / 406.5 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.1409, allocations: 87.84 kB / 406.6 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.1414, allocations: 48.64 kB / 406.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1425, allocations: 0.7031 MB / 407.4 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.1429, allocations: 0.7482 MB / 408.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.1429, allocations: 23.44 kB / 408.1 MB, free: 5.172 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1429, allocations: 0 / 408.1 MB, free: 5.172 MB / 302.1 MB Notification: Performance of Templates: time 0.00573/0.1487, allocations: 3.544 MB / 411.7 MB, free: 1.641 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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 OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTestCalcHelperMain.o] Error 1