Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 176.3 kB / 15.43 MB, free: 6.199 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.268/1.268, allocations: 225.7 MB / 241.9 MB, free: 220 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.0007714/0.0007714, allocations: 86.11 kB / 293.1 MB, free: 12.88 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.0507/0.0507, allocations: 12.01 MB / 356.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 7.562 kB / 419.9 MB, free: 87 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07014/0.07044, allocations: 53.06 MB / 473 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.0023/0.07278, allocations: 2.666 MB / 475.7 MB, free: 33.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.07491, allocations: 2.044 MB / 477.7 MB, free: 31.56 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.0751, allocations: 7.938 kB / 477.7 MB, free: 31.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.07523, allocations: 19.83 kB / 477.7 MB, free: 31.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.07552, allocations: 107.3 kB / 477.8 MB, free: 31.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.0761, allocations: 267.3 kB / 478.1 MB, free: 31.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.07638, allocations: 322.4 kB / 478.4 MB, free: 30.85 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.07654, allocations: 72.59 kB / 478.5 MB, free: 30.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.07667, allocations: 95.58 kB / 478.6 MB, free: 30.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.07682, allocations: 119.5 kB / 478.7 MB, free: 30.56 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.07685, allocations: 8 kB / 478.7 MB, free: 30.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.07714, allocations: 195.6 kB / 478.9 MB, free: 30.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.0772, allocations: 39.84 kB / 478.9 MB, free: 30.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.0773, allocations: 145.1 kB / 479.1 MB, free: 30.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.07766, allocations: 379 kB / 479.5 MB, free: 29.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.07768, allocations: 0 / 479.5 MB, free: 29.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.07769, allocations: 3.938 kB / 479.5 MB, free: 29.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.0777, allocations: 0 / 479.5 MB, free: 29.8 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005811/0.07828, allocations: 499.1 kB / 479.9 MB, free: 29.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.07832, allocations: 12.03 kB / 480 MB, free: 29.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.838e-05/0.07842, allocations: 28.66 kB / 480 MB, free: 29.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.07863, allocations: 251.6 kB / 480.2 MB, free: 28.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.07865, allocations: 16.38 kB / 480.2 MB, free: 28.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.07869, allocations: 19.98 kB / 480.3 MB, free: 28.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.07902, allocations: 215.2 kB / 480.5 MB, free: 28.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.07904, allocations: 3.938 kB / 480.5 MB, free: 28.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.07907, allocations: 8 kB / 480.5 MB, free: 28.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.07908, allocations: 8 kB / 480.5 MB, free: 28.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.07933, allocations: 143.3 kB / 480.6 MB, free: 28.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.08041, allocations: 1.134 MB / 481.8 MB, free: 27.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.08069, allocations: 134.6 kB / 481.9 MB, free: 27.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.08081, allocations: 64.83 kB / 482 MB, free: 27.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.08099, allocations: 328.4 kB / 482.3 MB, free: 26.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.08101, allocations: 34.5 kB / 482.3 MB, free: 26.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.08102, allocations: 0 / 482.3 MB, free: 26.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.001457/0.08248, allocations: 0.6966 MB / 483 MB, free: 25.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.08252, allocations: 55.39 kB / 483.1 MB, free: 25.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.08268, allocations: 223.1 kB / 483.3 MB, free: 25.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.0827, allocations: 25.7 kB / 483.3 MB, free: 25.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.08277, allocations: 140.3 kB / 483.5 MB, free: 25.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.0828, allocations: 63.09 kB / 483.5 MB, free: 25.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.08282, allocations: 8 kB / 483.5 MB, free: 25.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.527e-05/0.08287, allocations: 330.8 kB / 483.8 MB, free: 24.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.08301, allocations: 64.83 kB / 483.9 MB, free: 24.92 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.08314, allocations: 105.9 kB / 484 MB, free: 24.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.08341, allocations: 181.9 kB / 484.2 MB, free: 24.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.08342, allocations: 4 kB / 484.2 MB, free: 24.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003438/0.08377, allocations: 221.2 kB / 484.4 MB, free: 24.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.08379, allocations: 4 kB / 484.4 MB, free: 24.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.0838, allocations: 4 kB / 484.4 MB, free: 24.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.08382, allocations: 4.156 kB / 484.4 MB, free: 24.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.08406, allocations: 63.91 kB / 484.5 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.08407, allocations: 4 kB / 484.5 MB, free: 24.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.08421, allocations: 11.98 kB / 484.5 MB, free: 24.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.08423, allocations: 8 kB / 484.5 MB, free: 24.27 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: 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 (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 prepare postOptimizeDAE: time 0.000128/0.08436, allocations: 154.3 kB / 484.7 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.08441, allocations: 15.81 kB / 484.7 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.08481, allocations: 219.3 kB / 484.9 MB, free: 23.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.08482, allocations: 16.02 kB / 484.9 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.08483, allocations: 0 / 484.9 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.08484, allocations: 4 kB / 484.9 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/0.08544, allocations: 0.5555 MB / 485.5 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.08546, allocations: 0 / 485.5 MB, free: 23.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.08575, allocations: 55.91 kB / 485.5 MB, free: 23.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.08578, allocations: 4 kB / 485.5 MB, free: 23.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.0858, allocations: 8 kB / 485.5 MB, free: 23.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.08581, allocations: 3.938 kB / 485.5 MB, free: 23.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.08581, allocations: 7.922 kB / 485.5 MB, free: 23.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.08627, allocations: 368.8 kB / 485.9 MB, free: 22.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.08635, allocations: 112.8 kB / 486 MB, free: 22.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.08639, allocations: 7.938 kB / 486 MB, free: 22.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.08655, allocations: 15.98 kB / 486 MB, free: 22.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.08661, allocations: 11.98 kB / 486 MB, free: 22.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.08663, allocations: 4 kB / 486 MB, free: 22.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.08674, allocations: 171.2 kB / 486.2 MB, free: 22.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08675, allocations: 0 / 486.2 MB, free: 22.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.08707, allocations: 88 kB / 486.3 MB, free: 22.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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.0001928/0.08727, allocations: 171.1 kB / 486.5 MB, free: 22.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.08758, allocations: 150 kB / 486.6 MB, free: 22.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.08759, allocations: 0 / 486.6 MB, free: 22.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.08772, allocations: 79.89 kB / 486.7 MB, free: 21.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.08811, allocations: 56.77 kB / 486.7 MB, free: 21.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007739/0.08889, allocations: 0.7052 MB / 487.5 MB, free: 21.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.08904, allocations: 0.7404 MB / 488.2 MB, free: 20.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.08916, allocations: 38.16 kB / 488.2 MB, free: 20.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.08922, allocations: 23.44 kB / 488.3 MB, free: 20.36 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.08923, allocations: 0 / 488.3 MB, free: 20.36 MB / 330.7 MB Notification: Performance of Templates: time 0.005966/0.0952, allocations: 3.582 MB / 491.8 MB, free: 16.82 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)