Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006717/0.006717, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.000987/0.0009871, allocations: 189.8 kB / 16.79 MB, free: 5.809 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.515/1.515, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05171/0.05171, allocations: 11.83 MB / 281.8 MB, free: 9.641 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.001355/0.001355, allocations: 71.5 kB / 341.8 MB, free: 22.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.09742, allocations: 49.22 MB / 391 MB, free: 5.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.00468/0.1021, allocations: 3.218 MB / 394.2 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.1055, allocations: 2.369 MB / 396.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.1057, allocations: 4 kB / 396.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.106, allocations: 83.61 kB / 396.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1064, allocations: 163.1 kB / 396.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000751/0.1072, allocations: 361.6 kB / 397.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.1075, allocations: 358.2 kB / 397.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1076, allocations: 56.92 kB / 397.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1078, allocations: 115.5 kB / 397.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.108, allocations: 151.2 kB / 397.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.108, allocations: 12 kB / 397.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.1085, allocations: 271.7 kB / 398.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.714e-05/0.1086, allocations: 67.69 kB / 398.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1087, allocations: 143.1 kB / 398.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.1092, allocations: 367.2 kB / 398.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1092, allocations: 0 / 398.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.32e-07/0.1092, allocations: 0 / 398.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1092, allocations: 0 / 398.7 MB, free: 13.41 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008484/0.1101, allocations: 0.6311 MB / 399.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1101, allocations: 12.03 kB / 399.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/0.1102, allocations: 40.41 kB / 399.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1105, allocations: 299.4 kB / 399.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1106, allocations: 20.38 kB / 399.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.1106, allocations: 16 kB / 399.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.111, allocations: 227.2 kB / 399.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.111, allocations: 0 / 399.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1111, allocations: 4 kB / 399.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1111, allocations: 4 kB / 399.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.1115, allocations: 249.6 kB / 400.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.1131, allocations: 1.321 MB / 401.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.1135, allocations: 178.7 kB / 401.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1137, allocations: 84.84 kB / 401.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.1139, allocations: 174.2 kB / 401.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1139, allocations: 38.5 kB / 402 MB, free: 9.801 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.1139, allocations: 0 / 402 MB, free: 9.801 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02738/0.1413, allocations: 2.725 MB / 404.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.1414, allocations: 55.41 kB / 404.8 MB, free: 6.973 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.142, allocations: 357.6 kB / 405.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.142, allocations: 33.7 kB / 405.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1422, allocations: 172.8 kB / 405.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1423, allocations: 106.4 kB / 405.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.1425, allocations: 81.66 kB / 405.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1427, allocations: 338.8 kB / 405.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009416/0.1436, allocations: 291.8 kB / 406.1 MB, free: 5.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008857/0.1445, allocations: 322.2 kB / 406.4 MB, free: 5.262 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.1464, allocations: 0.588 MB / 407 MB, free: 4.664 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1464, allocations: 0 / 407 MB, free: 4.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002958/0.1494, allocations: 0.8928 MB / 407.9 MB, free: 3.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.1494, allocations: 8 kB / 407.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1494, allocations: 0 / 407.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.1519, allocations: 1.032 MB / 408.9 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.1522, allocations: 55.89 kB / 409 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005868/0.158, allocations: 1.823 MB / 410.8 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/0.1588, allocations: 51.92 kB / 410.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.1589, allocations: 19.98 kB / 410.9 MB, free: 0.7109 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002793/0.1591, allocations: 154.7 kB / 411 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.1593, allocations: 35.56 kB / 411.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.1624, allocations: 0.9465 MB / 412 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.1624, allocations: 11.94 kB / 412 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1624, allocations: 0 / 412 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1625, allocations: 0 / 412 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/0.1678, allocations: 1.826 MB / 413.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1678, allocations: 0 / 413.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.1681, allocations: 59.97 kB / 413.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/0.1702, allocations: 0.8836 MB / 414.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.1702, allocations: 11.98 kB / 414.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003184/0.1734, allocations: 1.643 MB / 416.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1734, allocations: 0 / 416.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.176, allocations: 0.8615 MB / 417.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.1763, allocations: 180.4 kB / 417.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/0.1764, allocations: 8 kB / 417.5 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/0.1769, allocations: 43.95 kB / 417.5 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.177, allocations: 23.95 kB / 417.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.1771, allocations: 15.98 kB / 417.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.1774, allocations: 255.2 kB / 417.8 MB, free: 9.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1774, allocations: 0 / 417.8 MB, free: 9.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007574/0.1782, allocations: 235.9 kB / 418.1 MB, free: 9.332 MB / 318.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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.1795, allocations: 0.5308 MB / 418.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00482/0.1844, allocations: 0.7571 MB / 419.3 MB, free: 8.156 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1844, allocations: 0 / 419.3 MB, free: 8.156 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.1859, allocations: 363.9 kB / 419.7 MB, free: 7.801 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.1866, allocations: 85.27 kB / 419.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.1884, allocations: 0.9155 MB / 420.7 MB, free: 6.766 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1888, allocations: 0.7801 MB / 421.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1889, allocations: 35.42 kB / 421.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1889, allocations: 0 / 421.5 MB, free: 5.926 MB / 318.1 MB Notification: Performance of Templates: time 0.1888/0.3777, allocations: 10.7 MB / 432.2 MB, free: 41.67 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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 OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2CalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2CalcHelperMain.o] Error 1