Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006439/0.0006439, allocations: 97.78 kB / 16.02 MB, free: 76 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.0006796/0.0006795, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.07/1.07, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04675/0.04675, allocations: 11.86 MB / 283.2 MB, free: 9.375 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.0004872/0.0004872, allocations: 16 kB / 344.2 MB, free: 22.12 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06556/0.06606, allocations: 50.22 MB / 394.4 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002705/0.06877, allocations: 2.978 MB / 397.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.0713, allocations: 2.084 MB / 399.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.07147, allocations: 4 kB / 399.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.07168, allocations: 47.69 kB / 399.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003297/0.07202, allocations: 131.2 kB / 399.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.07266, allocations: 299 kB / 399.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.07301, allocations: 374.2 kB / 400.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.07316, allocations: 77.2 kB / 400.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.07332, allocations: 111.5 kB / 400.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.07351, allocations: 139.3 kB / 400.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.07354, allocations: 16 kB / 400.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.0739, allocations: 235.8 kB / 400.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.07397, allocations: 47.78 kB / 400.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.07411, allocations: 168.9 kB / 401.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.07445, allocations: 319.2 kB / 401.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.07446, allocations: 0 / 401.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.07447, allocations: 0 / 401.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.07448, allocations: 0 / 401.4 MB, free: 12.83 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006656/0.07515, allocations: 0.5458 MB / 401.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.07518, allocations: 8.031 kB / 401.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.934e-05/0.07528, allocations: 40.55 kB / 402 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.07554, allocations: 263.8 kB / 402.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.07557, allocations: 16.94 kB / 402.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.07561, allocations: 28.12 kB / 402.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.07603, allocations: 271.6 kB / 402.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.07605, allocations: 4 kB / 402.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.07608, allocations: 15.94 kB / 402.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.07609, allocations: 4 kB / 402.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.07646, allocations: 222.1 kB / 402.8 MB, free: 11.33 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.001651/0.07812, allocations: 1.452 MB / 404.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.07837, allocations: 162.6 kB / 404.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.07851, allocations: 72.83 kB / 404.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.07868, allocations: 174.2 kB / 404.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.07871, allocations: 34.56 kB / 404.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.07872, allocations: 0 / 404.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001632/0.08035, allocations: 0.7587 MB / 405.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.0804, allocations: 63.39 kB / 405.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.08064, allocations: 262.7 kB / 405.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.08067, allocations: 29.7 kB / 405.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/0.08076, allocations: 156.2 kB / 405.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.08082, allocations: 82.83 kB / 406 MB, free: 7.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.08086, allocations: 25.72 kB / 406 MB, free: 7.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.08096, allocations: 330.8 kB / 406.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.08114, allocations: 97.2 kB / 406.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.08133, allocations: 130.9 kB / 406.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.08167, allocations: 217.8 kB / 406.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.08168, allocations: 0 / 406.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000463/0.08215, allocations: 277.1 kB / 407.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.08217, allocations: 6.188 kB / 407.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.08218, allocations: 4 kB / 407.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.08219, allocations: 0 / 407.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.08244, allocations: 71.89 kB / 407.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.08246, allocations: 4 kB / 407.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.08261, allocations: 20.08 kB / 407.2 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.08263, allocations: 12 kB / 407.2 MB, free: 6.535 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 (28): * Single equations (assignments): 28 * 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.0001584/0.0828, allocations: 146.6 kB / 407.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.08285, allocations: 23.72 kB / 407.3 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.08332, allocations: 259.5 kB / 407.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.08333, allocations: 0 / 407.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.08334, allocations: 0 / 407.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.08335, allocations: 0 / 407.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/0.08417, allocations: 0.6361 MB / 408.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.08418, allocations: 0 / 408.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.08443, allocations: 67.89 kB / 408.3 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.08444, allocations: 3.938 kB / 408.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.08446, allocations: 4 kB / 408.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.08447, allocations: 0 / 408.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.08447, allocations: 8.016 kB / 408.3 MB, free: 5.324 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.08505, allocations: 423.9 kB / 408.7 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.08517, allocations: 124.8 kB / 408.9 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.08521, allocations: 7.984 kB / 408.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.08537, allocations: 12 kB / 408.9 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.08542, allocations: 19.97 kB / 408.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.08544, allocations: 7.938 kB / 408.9 MB, free: 4.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001643/0.08561, allocations: 198 kB / 409.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08561, allocations: 0 / 409.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.08597, allocations: 116 kB / 409.2 MB, free: 4.398 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * 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.0002433/0.08622, allocations: 187 kB / 409.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003776/0.0866, allocations: 191.7 kB / 409.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.08662, allocations: 0 / 409.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.08679, allocations: 99.83 kB / 409.7 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.0872, allocations: 72.78 kB / 409.7 MB, free: 3.855 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009535/0.08816, allocations: 0.8099 MB / 410.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.08845, allocations: 0.7599 MB / 411.3 MB, free: 2.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.08854, allocations: 31.44 kB / 411.3 MB, free: 2.191 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.08854, allocations: 0 / 411.3 MB, free: 2.191 MB / 302.1 MB Notification: Performance of Templates: time 0.00586/0.09441, allocations: 4.502 MB / 415.8 MB, free: 13.7 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTestCalcHelperMain.o OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppOpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestCalcHelperMain.o] Error 1