Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009462/0.0009463, allocations: 180.9 kB / 15.43 MB, free: 6.207 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.269/1.269, allocations: 225.7 MB / 241.9 MB, free: 388 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.0007482/0.0007482, allocations: 90.05 kB / 293.1 MB, free: 12.89 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.05206/0.05206, allocations: 12.01 MB / 356.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002968, allocations: 8.031 kB / 419.9 MB, free: 87.21 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07764/0.07795, allocations: 53.07 MB / 473 MB, free: 36.4 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.002844/0.08083, allocations: 3.819 MB / 476.8 MB, free: 32.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.08196, allocations: 1.133 MB / 478 MB, free: 31.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.08213, allocations: 8 kB / 478 MB, free: 31.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.08228, allocations: 43.62 kB / 478 MB, free: 31.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.08263, allocations: 170.9 kB / 478.2 MB, free: 31.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.08281, allocations: 87.86 kB / 478.3 MB, free: 31.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004304/0.08325, allocations: 0.661 MB / 478.9 MB, free: 30.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.08351, allocations: 221.2 kB / 479.1 MB, free: 30.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.08368, allocations: 187.2 kB / 479.3 MB, free: 30.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.0839, allocations: 234.9 kB / 479.6 MB, free: 29.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.08394, allocations: 20 kB / 479.6 MB, free: 29.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.08406, allocations: 31.98 kB / 479.6 MB, free: 29.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.08413, allocations: 83.62 kB / 479.7 MB, free: 29.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.0843, allocations: 260.5 kB / 479.9 MB, free: 29.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.08464, allocations: 0.4985 MB / 480.4 MB, free: 28.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.08465, allocations: 0 / 480.4 MB, free: 28.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08466, allocations: 0 / 480.4 MB, free: 28.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.08467, allocations: 0 / 480.4 MB, free: 28.9 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0007505/0.08542, allocations: 0.62 MB / 481.1 MB, free: 28.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.08547, allocations: 12.03 kB / 481.1 MB, free: 28.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.08564, allocations: 52.38 kB / 481.1 MB, free: 28.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.08598, allocations: 338.5 kB / 481.4 MB, free: 27.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.08602, allocations: 37.06 kB / 481.5 MB, free: 27.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.08609, allocations: 43.91 kB / 481.5 MB, free: 27.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.08668, allocations: 378.4 kB / 481.9 MB, free: 27.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.08671, allocations: 0 / 481.9 MB, free: 27.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.08675, allocations: 16 kB / 481.9 MB, free: 27.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.08676, allocations: 12 kB / 481.9 MB, free: 27.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.08721, allocations: 295.8 kB / 482.2 MB, free: 27.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.08892, allocations: 1.727 MB / 483.9 MB, free: 25.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.08921, allocations: 150.8 kB / 484.1 MB, free: 24.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.08938, allocations: 84.81 kB / 484.2 MB, free: 24.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.08941, allocations: 7.906 kB / 484.2 MB, free: 24.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.08943, allocations: 38.48 kB / 484.2 MB, free: 24.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.08944, allocations: 0 / 484.2 MB, free: 24.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004004/0.08984, allocations: 225.2 kB / 484.4 MB, free: 24.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.08987, allocations: 51.41 kB / 484.5 MB, free: 24.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.09021, allocations: 429.5 kB / 484.9 MB, free: 24.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.09023, allocations: 25.7 kB / 484.9 MB, free: 24.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.09034, allocations: 243.5 kB / 485.2 MB, free: 23.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.09038, allocations: 55.14 kB / 485.2 MB, free: 23.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.0904, allocations: 8 kB / 485.2 MB, free: 23.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.09046, allocations: 354.7 kB / 485.6 MB, free: 23.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.0906, allocations: 85.02 kB / 485.7 MB, free: 23.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.09078, allocations: 162 kB / 485.8 MB, free: 23.11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.09105, allocations: 251.2 kB / 486.1 MB, free: 22.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.09106, allocations: 0 / 486.1 MB, free: 22.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003899/0.09146, allocations: 301 kB / 486.4 MB, free: 22.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.09148, allocations: 4 kB / 486.4 MB, free: 22.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.0915, allocations: 4 kB / 486.4 MB, free: 22.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.09152, allocations: 4 kB / 486.4 MB, free: 22.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.09177, allocations: 67.89 kB / 486.4 MB, free: 22.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.09179, allocations: 11.94 kB / 486.4 MB, free: 22.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.092, allocations: 43.66 kB / 486.5 MB, free: 22.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.09203, allocations: 23.98 kB / 486.5 MB, free: 22.36 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (33): * Single equations (assignments): 33 * 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.0001572/0.09219, allocations: 182.9 kB / 486.7 MB, free: 22.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.09224, allocations: 35.53 kB / 486.7 MB, free: 22.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.09258, allocations: 209 kB / 486.9 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.0926, allocations: 8 kB / 486.9 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.09261, allocations: 0 / 486.9 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.09261, allocations: 0 / 486.9 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000694/0.09331, allocations: 0.7196 MB / 487.7 MB, free: 21.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.09333, allocations: 4.031 kB / 487.7 MB, free: 21.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.09352, allocations: 43.97 kB / 487.7 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.09353, allocations: 4 kB / 487.7 MB, free: 21.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.09355, allocations: 3.938 kB / 487.7 MB, free: 21.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.09356, allocations: 7.938 kB / 487.7 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.09356, allocations: 3.984 kB / 487.7 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.09396, allocations: 384.4 kB / 488.1 MB, free: 20.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.601e-05/0.09406, allocations: 132.5 kB / 488.2 MB, free: 20.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.372e-05/0.09412, allocations: 11.92 kB / 488.2 MB, free: 20.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.09431, allocations: 12.06 kB / 488.3 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.09435, allocations: 11.92 kB / 488.3 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.09437, allocations: 8 kB / 488.3 MB, free: 20.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002381/0.09461, allocations: 307.1 kB / 488.6 MB, free: 20.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09462, allocations: 3.938 kB / 488.6 MB, free: 20.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.09496, allocations: 95.84 kB / 488.7 MB, free: 20.06 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.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 (18): * Single equations (assignments): 18 * 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 9.857e-05/0.09506, allocations: 111.2 kB / 488.8 MB, free: 19.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.09536, allocations: 167.7 kB / 488.9 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.09537, allocations: 0 / 488.9 MB, free: 19.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.09549, allocations: 76.84 kB / 489 MB, free: 19.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.09614, allocations: 141.3 kB / 489.2 MB, free: 19.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.09719, allocations: 0.94 MB / 490.1 MB, free: 18.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.09739, allocations: 0.8233 MB / 490.9 MB, free: 17.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.09758, allocations: 60.16 kB / 491 MB, free: 17.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.09765, allocations: 35.42 kB / 491 MB, free: 17.64 MB / 330.7 MB Notification: Performance of SimCode: time 2.1e-07/0.09765, allocations: 0 / 491 MB, free: 17.64 MB / 330.7 MB Notification: Performance of Templates: time 0.007804/0.1055, allocations: 5.398 MB / 496.4 MB, free: 12.3 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1)