Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 177.9 kB / 15.43 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.7 MB / 241.9 MB, free: 416 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008082/0.0008081, allocations: 89.8 kB / 293.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05306/0.05306, allocations: 12.02 MB / 356.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002697, allocations: 8.656 kB / 419.9 MB, free: 87.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.07916, allocations: 53.06 MB / 473 MB, free: 36.46 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002197/0.08141, allocations: 2.537 MB / 475.5 MB, free: 33.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.08241, allocations: 1.053 MB / 476.6 MB, free: 32.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.951e-05/0.08252, allocations: 4 kB / 476.6 MB, free: 32.78 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 8.978e-05/0.08262, allocations: 23.78 kB / 476.6 MB, free: 32.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.08288, allocations: 99.3 kB / 476.7 MB, free: 32.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001186/0.08301, allocations: 43.94 kB / 476.8 MB, free: 32.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.0832, allocations: 242.7 kB / 477 MB, free: 32.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.08333, allocations: 37.67 kB / 477 MB, free: 32.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.08344, allocations: 83.64 kB / 477.1 MB, free: 32.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.08356, allocations: 95.5 kB / 477.2 MB, free: 32.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.08359, allocations: 8 kB / 477.2 MB, free: 32.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.08367, allocations: 27.98 kB / 477.2 MB, free: 32.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.08371, allocations: 31.84 kB / 477.3 MB, free: 32.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.08379, allocations: 129.2 kB / 477.4 MB, free: 31.97 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.08398, allocations: 191.5 kB / 477.6 MB, free: 31.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.08399, allocations: 0 / 477.6 MB, free: 31.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.084, allocations: 0 / 477.6 MB, free: 31.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.08401, allocations: 0 / 477.6 MB, free: 31.78 MB / 330.7 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.0004505/0.08446, allocations: 472.6 kB / 478 MB, free: 31.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.0845, allocations: 8.031 kB / 478.1 MB, free: 31.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.08459, allocations: 24.66 kB / 478.1 MB, free: 31.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.08476, allocations: 231.9 kB / 478.3 MB, free: 30.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.08478, allocations: 20.36 kB / 478.3 MB, free: 30.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.08482, allocations: 24.06 kB / 478.4 MB, free: 30.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.08509, allocations: 179.8 kB / 478.5 MB, free: 30.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.08511, allocations: 0 / 478.5 MB, free: 30.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.08513, allocations: 8 kB / 478.5 MB, free: 30.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.08514, allocations: 8 kB / 478.5 MB, free: 30.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.08537, allocations: 133.5 kB / 478.7 MB, free: 30.59 MB / 330.7 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.0008203/0.0862, allocations: 0.9334 MB / 479.6 MB, free: 29.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.08645, allocations: 146.8 kB / 479.7 MB, free: 29.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.08657, allocations: 64.83 kB / 479.8 MB, free: 29.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.08659, allocations: 7.984 kB / 479.8 MB, free: 29.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.08662, allocations: 38.47 kB / 479.9 MB, free: 29.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.714e-06/0.08662, allocations: 0 / 479.9 MB, free: 29.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001468/0.0881, allocations: 0.781 MB / 480.6 MB, free: 28.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.08813, allocations: 81.06 kB / 480.7 MB, free: 28.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.08824, allocations: 180.3 kB / 480.9 MB, free: 28.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.08826, allocations: 33.7 kB / 480.9 MB, free: 28.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.08831, allocations: 128.3 kB / 481.1 MB, free: 27.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.08835, allocations: 63.02 kB / 481.1 MB, free: 27.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/0.08837, allocations: 0 / 481.1 MB, free: 27.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.162e-05/0.08841, allocations: 330.8 kB / 481.4 MB, free: 27.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.08855, allocations: 72.81 kB / 481.5 MB, free: 27.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.08868, allocations: 98.28 kB / 481.6 MB, free: 27.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.08895, allocations: 223.8 kB / 481.8 MB, free: 27.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.08896, allocations: 4 kB / 481.8 MB, free: 27.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003368/0.0893, allocations: 238.9 kB / 482.1 MB, free: 26.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.08933, allocations: 33.8 kB / 482.1 MB, free: 26.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.08934, allocations: 4 kB / 482.1 MB, free: 26.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.08936, allocations: 3.938 kB / 482.1 MB, free: 26.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.08963, allocations: 59.89 kB / 482.2 MB, free: 26.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.08964, allocations: 4 kB / 482.2 MB, free: 26.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.08977, allocations: 15.98 kB / 482.2 MB, free: 26.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.08979, allocations: 4 kB / 482.2 MB, free: 26.76 MB / 330.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.08994, allocations: 167.5 kB / 482.3 MB, free: 26.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.08998, allocations: 15.81 kB / 482.4 MB, free: 26.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004116/0.0904, allocations: 261.6 kB / 482.6 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.09042, allocations: 8 kB / 482.6 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.09043, allocations: 3.984 kB / 482.6 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.09044, allocations: 0 / 482.6 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.09102, allocations: 0.5863 MB / 483.2 MB, free: 25.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.09103, allocations: 3.938 kB / 483.2 MB, free: 25.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.09128, allocations: 55.97 kB / 483.3 MB, free: 25.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.0913, allocations: 7.938 kB / 483.3 MB, free: 25.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.09132, allocations: 4 kB / 483.3 MB, free: 25.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.09133, allocations: 0 / 483.3 MB, free: 25.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.09133, allocations: 0 / 483.3 MB, free: 25.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.09181, allocations: 423.7 kB / 483.7 MB, free: 25.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.09188, allocations: 108.9 kB / 483.8 MB, free: 25.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.09192, allocations: 8 kB / 483.8 MB, free: 25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.09207, allocations: 11.98 kB / 483.8 MB, free: 24.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.09212, allocations: 15.98 kB / 483.8 MB, free: 24.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.09214, allocations: 8.062 kB / 483.8 MB, free: 24.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.344e-05/0.09222, allocations: 131.2 kB / 484 MB, free: 24.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09223, allocations: 0 / 484 MB, free: 24.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000257/0.09249, allocations: 60 kB / 484 MB, free: 24.78 MB / 330.7 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 (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.0001083/0.09261, allocations: 126 kB / 484.2 MB, free: 24.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.09294, allocations: 215.3 kB / 484.4 MB, free: 24.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.09295, allocations: 0 / 484.4 MB, free: 24.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.0931, allocations: 141.3 kB / 484.5 MB, free: 24.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.09344, allocations: 54.42 kB / 484.6 MB, free: 24.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.0941, allocations: 0.6072 MB / 485.2 MB, free: 23.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.09424, allocations: 0.7445 MB / 485.9 MB, free: 22.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.09438, allocations: 25.89 kB / 485.9 MB, free: 22.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.09444, allocations: 23.42 kB / 486 MB, free: 22.77 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.09445, allocations: 4 kB / 486 MB, free: 22.77 MB / 330.7 MB Notification: Performance of Templates: time 0.004521/0.09897, allocations: 2.529 MB / 488.5 MB, free: 20.26 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1)