Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009289/0.0009291, allocations: 102.4 kB / 15.71 MB, free: 440 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.001195/0.001195, allocations: 177.2 kB / 16.58 MB, free: 6.879 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.122/2.122, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05377/0.05377, allocations: 11.85 MB / 282.9 MB, free: 9.473 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.0005897/0.0005897, allocations: 16 kB / 343.6 MB, free: 22.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1181, allocations: 50.22 MB / 393.8 MB, free: 4.211 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002786/0.1209, allocations: 2.574 MB / 396.3 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1222, allocations: 0.7061 MB / 397 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.1223, allocations: 8 kB / 397.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.1225, allocations: 31.77 kB / 397.1 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004017/0.1229, allocations: 127 kB / 397.2 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.1231, allocations: 39.95 kB / 397.3 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.1234, allocations: 230.7 kB / 397.5 MB, free: 492 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1236, allocations: 45.64 kB / 397.5 MB, free: 444 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1237, allocations: 79.7 kB / 397.6 MB, free: 364 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.1239, allocations: 91.61 kB / 397.7 MB, free: 272 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.124, allocations: 8 kB / 397.7 MB, free: 264 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.782e-05/0.1241, allocations: 20 kB / 397.7 MB, free: 244 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.1241, allocations: 27.84 kB / 397.7 MB, free: 216 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.1242, allocations: 65.58 kB / 397.8 MB, free: 144 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1244, allocations: 147.8 kB / 398 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.1244, allocations: 8 kB / 398 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1244, allocations: 0 / 398 MB, free: 15.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1244, allocations: 0 / 398 MB, free: 15.98 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008662/0.1253, allocations: 480.2 kB / 398.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.1254, allocations: 12.03 kB / 398.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.1256, allocations: 27.77 kB / 398.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.1259, allocations: 214.8 kB / 398.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1259, allocations: 16 kB / 398.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.1259, allocations: 12 kB / 398.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.1263, allocations: 187.7 kB / 398.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1263, allocations: 0 / 398.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.1264, allocations: 12 kB / 398.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.1264, allocations: 7.938 kB / 398.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.1266, allocations: 124.9 kB / 399 MB, free: 14.81 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.1279, allocations: 0.9374 MB / 400 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.1283, allocations: 142.8 kB / 400.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1284, allocations: 64.83 kB / 400.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1284, allocations: 7.969 kB / 400.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.1285, allocations: 42.56 kB / 400.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.1285, allocations: 3.938 kB / 400.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.001821/0.1303, allocations: 0.7877 MB / 401 MB, free: 12.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.1304, allocations: 77.11 kB / 401.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.1306, allocations: 186.6 kB / 401.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1306, allocations: 25.7 kB / 401.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.1307, allocations: 128.3 kB / 401.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.1308, allocations: 67 kB / 401.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.1308, allocations: 4 kB / 401.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1309, allocations: 330.8 kB / 401.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1311, allocations: 69 kB / 401.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1312, allocations: 92.27 kB / 402 MB, free: 11.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.1314, allocations: 99.8 kB / 402.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1314, allocations: 0 / 402.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003843/0.1318, allocations: 239 kB / 402.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.1318, allocations: 29.7 kB / 402.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1319, allocations: 4 kB / 402.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1319, allocations: 0 / 402.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.1322, allocations: 63.89 kB / 402.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1322, allocations: 8.094 kB / 402.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.1323, allocations: 15.95 kB / 402.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1323, allocations: 7.984 kB / 402.4 MB, free: 11.12 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: 5 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0002202/0.1326, allocations: 160.4 kB / 402.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.1326, allocations: 15.81 kB / 402.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.1331, allocations: 269.1 kB / 402.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1331, allocations: 4 kB / 402.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.1331, allocations: 0 / 402.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1331, allocations: 7.922 kB / 402.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/0.1338, allocations: 0.5821 MB / 403.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1338, allocations: 7.984 kB / 403.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.1341, allocations: 55.91 kB / 403.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.1341, allocations: 4 kB / 403.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1341, allocations: 4 kB / 403.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1341, allocations: 0 / 403.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1341, allocations: 7.953 kB / 403.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.1347, allocations: 409.5 kB / 403.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.1348, allocations: 112.9 kB / 404 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.1348, allocations: 8 kB / 404 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.135, allocations: 11.98 kB / 404.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.135, allocations: 11.98 kB / 404.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1351, allocations: 11.95 kB / 404.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1352, allocations: 135.2 kB / 404.2 MB, free: 9.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1352, allocations: 3.938 kB / 404.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.1355, allocations: 48 kB / 404.3 MB, free: 9.141 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001889/0.1357, allocations: 119.1 kB / 404.4 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.1361, allocations: 224.3 kB / 404.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1361, allocations: 0 / 404.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1363, allocations: 147.4 kB / 404.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1367, allocations: 47.47 kB / 404.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/0.1377, allocations: 0.6287 MB / 405.4 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.1381, allocations: 0.7329 MB / 406.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.1381, allocations: 19.44 kB / 406.2 MB, free: 7.148 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1381, allocations: 0 / 406.2 MB, free: 7.148 MB / 302.1 MB Notification: Performance of Templates: time 0.004747/0.1429, allocations: 2.762 MB / 408.9 MB, free: 4.402 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.GenericRestrictionTestOpenTankCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTankCalcHelperMain.o] Error 1