Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007876/0.0007877, allocations: 102.6 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.0009719/0.0009721, allocations: 171.9 kB / 16.58 MB, free: 6.398 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.924/1.924, allocations: 205.4 MB / 222.8 MB, free: 5.863 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05203/0.05203, allocations: 11.83 MB / 282.9 MB, free: 9.695 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.0006185/0.0006186, allocations: 16 kB / 343.6 MB, free: 22.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.121, allocations: 50.22 MB / 393.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.003/0.124, allocations: 2.274 MB / 396 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.1269, allocations: 1.993 MB / 398 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1271, allocations: 4 kB / 398 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1274, allocations: 71.62 kB / 398.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.1278, allocations: 131.1 kB / 398.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.1286, allocations: 311.5 kB / 398.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.1289, allocations: 226.9 kB / 398.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.129, allocations: 32.66 kB / 398.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1292, allocations: 91.58 kB / 398.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1294, allocations: 91.55 kB / 399 MB, free: 15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.1294, allocations: 4 kB / 399 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.1297, allocations: 183.8 kB / 399.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.1298, allocations: 39.83 kB / 399.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.1299, allocations: 61.58 kB / 399.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.1302, allocations: 255.4 kB / 399.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1303, allocations: 3.938 kB / 399.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1303, allocations: 0 / 399.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1303, allocations: 0 / 399.5 MB, free: 14.46 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007171/0.131, allocations: 0.5255 MB / 400 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1311, allocations: 8.031 kB / 400 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.1311, allocations: 27.67 kB / 400.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1314, allocations: 249.6 kB / 400.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1315, allocations: 12 kB / 400.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.1315, allocations: 15.98 kB / 400.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.1319, allocations: 157.6 kB / 400.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1319, allocations: 4 kB / 400.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.1319, allocations: 0 / 400.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1319, allocations: 4 kB / 400.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.1323, allocations: 163.8 kB / 400.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1335, allocations: 0.7979 MB / 401.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.1338, allocations: 110.5 kB / 401.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.1339, allocations: 60.97 kB / 401.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.134, allocations: 85.09 kB / 401.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1341, allocations: 30.56 kB / 401.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.1341, allocations: 4 kB / 401.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001502/0.1356, allocations: 472.6 kB / 402.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1356, allocations: 59.34 kB / 402.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.136, allocations: 274.7 kB / 402.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.136, allocations: 29.7 kB / 402.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1361, allocations: 155.7 kB / 402.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.1362, allocations: 39.45 kB / 402.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.1362, allocations: 0.5625 kB / 402.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1364, allocations: 334.8 kB / 403.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.1366, allocations: 71.89 kB / 403.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.1368, allocations: 104.2 kB / 403.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.137, allocations: 83.89 kB / 403.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.137, allocations: 0 / 403.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004684/0.1375, allocations: 233.1 kB / 403.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1375, allocations: 8.125 kB / 403.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1375, allocations: 0 / 403.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1375, allocations: 4 kB / 403.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.1378, allocations: 43.97 kB / 403.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.1378, allocations: 7.953 kB / 403.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1379, allocations: 19.98 kB / 403.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.138, allocations: 11.94 kB / 403.7 MB, free: 10 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001316/0.1381, allocations: 138.7 kB / 403.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.1382, allocations: 19.72 kB / 403.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/0.1387, allocations: 224.9 kB / 404 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1387, allocations: 0 / 404 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1387, allocations: 0 / 404 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1387, allocations: 11.95 kB / 404 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/0.1395, allocations: 0.5272 MB / 404.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1395, allocations: 0 / 404.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1396, allocations: 35.91 kB / 404.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1396, allocations: 0 / 404.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1396, allocations: 4 kB / 404.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1397, allocations: 8.016 kB / 404.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1397, allocations: 0 / 404.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.1401, allocations: 288.9 kB / 404.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1402, allocations: 116.8 kB / 405 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1403, allocations: 4 kB / 405 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1404, allocations: 23.97 kB / 405 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1405, allocations: 8.141 kB / 405.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1405, allocations: 7.984 kB / 405.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002567/0.1408, allocations: 213.9 kB / 405.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1408, allocations: 0 / 405.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006005/0.1414, allocations: 79.98 kB / 405.3 MB, free: 8.191 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0009359/0.1423, allocations: 418.4 kB / 405.8 MB, free: 7.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.1428, allocations: 160 kB / 405.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1428, allocations: 4.062 kB / 405.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.143, allocations: 71.89 kB / 406 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.1435, allocations: 56.98 kB / 406 MB, free: 7.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.1442, allocations: 495.6 kB / 406.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1445, allocations: 0.7401 MB / 407.3 MB, free: 6.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.869e-05/0.1446, allocations: 23.44 kB / 407.3 MB, free: 6.281 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1446, allocations: 0 / 407.3 MB, free: 6.281 MB / 302.1 MB Notification: Performance of Templates: time 0.006686/0.1513, allocations: 3.587 MB / 410.9 MB, free: 2.699 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.VariableRestrictionTestSimpleCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimpleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimpleCalcHelperMain.o] Error 1