Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 176.5 kB / 15.43 MB, free: 5.707 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.376/1.376, allocations: 225.7 MB / 241.9 MB, free: 384 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.0008064/0.0008064, allocations: 100.2 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.05387/0.05388, allocations: 12.01 MB / 356.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004595, allocations: 10.28 kB / 419.9 MB, free: 87.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09957, allocations: 53.06 MB / 473 MB, free: 36.42 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.003171/0.1028, allocations: 3.871 MB / 476.9 MB, free: 32.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003123/0.1059, allocations: 3.634 MB / 480.5 MB, free: 28.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.1062, allocations: 11.94 kB / 480.5 MB, free: 28.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.1068, allocations: 406.9 kB / 480.9 MB, free: 28.24 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.1073, allocations: 394.2 kB / 481.3 MB, free: 27.85 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009944/0.1083, allocations: 0.5222 MB / 481.8 MB, free: 27.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.1089, allocations: 0.8362 MB / 482.7 MB, free: 26.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.1091, allocations: 169.3 kB / 482.8 MB, free: 26.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.1094, allocations: 302.7 kB / 483.1 MB, free: 26.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.1097, allocations: 446.3 kB / 483.6 MB, free: 25.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.1098, allocations: 20 kB / 483.6 MB, free: 25.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.1101, allocations: 207.8 kB / 483.8 MB, free: 25.37 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.1103, allocations: 223.1 kB / 484 MB, free: 25.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.1105, allocations: 411.1 kB / 484.4 MB, free: 24.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006708/0.1112, allocations: 0.9769 MB / 485.4 MB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1112, allocations: 0 / 485.4 MB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1112, allocations: 0 / 485.4 MB, free: 23.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1113, allocations: 0 / 485.4 MB, free: 23.76 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001201/0.1125, allocations: 1.07 MB / 486.5 MB, free: 22.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1125, allocations: 11.97 kB / 486.5 MB, free: 22.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.1126, allocations: 111.6 kB / 486.6 MB, free: 22.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.1132, allocations: 0.6438 MB / 487.2 MB, free: 21.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1133, allocations: 32.94 kB / 487.2 MB, free: 21.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.1133, allocations: 44 kB / 487.3 MB, free: 21.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006389/0.114, allocations: 442.4 kB / 487.7 MB, free: 21.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.114, allocations: 0 / 487.7 MB, free: 21.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.114, allocations: 20 kB / 487.7 MB, free: 21.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.114, allocations: 12 kB / 487.8 MB, free: 21.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006741/0.1147, allocations: 451.8 kB / 488.2 MB, free: 20.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.1169, allocations: 2.477 MB / 490.7 MB, free: 18.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/0.1175, allocations: 314.4 kB / 491 MB, free: 17.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.1177, allocations: 132.7 kB / 491.1 MB, free: 17.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1178, allocations: 11.97 kB / 491.1 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.1178, allocations: 34.56 kB / 491.2 MB, free: 17.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.433e-06/0.1178, allocations: 0 / 491.2 MB, free: 17.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007894/0.1186, allocations: 462.7 kB / 491.6 MB, free: 17.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.1186, allocations: 51.41 kB / 491.7 MB, free: 17.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.1197, allocations: 1.36 MB / 493 MB, free: 15.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1198, allocations: 29.7 kB / 493 MB, free: 15.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.12, allocations: 456.2 kB / 493.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.1201, allocations: 90.66 kB / 493.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.1201, allocations: 12 kB / 493.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.1202, allocations: 325.9 kB / 493.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.1205, allocations: 115.9 kB / 494 MB, free: 14.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.1207, allocations: 199.5 kB / 494.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.1212, allocations: 327.4 kB / 494.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1212, allocations: 4 kB / 494.5 MB, free: 14.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006632/0.1219, allocations: 463.8 kB / 495 MB, free: 13.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1219, allocations: 4.25 kB / 495 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1219, allocations: 8 kB / 495 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1219, allocations: 4 kB / 495 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.1223, allocations: 91.88 kB / 495.1 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1223, allocations: 7.938 kB / 495.1 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.1226, allocations: 59.36 kB / 495.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.1227, allocations: 15.98 kB / 495.2 MB, free: 13.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002442/0.1229, allocations: 306.3 kB / 495.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.892e-05/0.123, allocations: 94.78 kB / 495.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007672/0.1238, allocations: 466.9 kB / 496 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.1238, allocations: 11.88 kB / 496 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1238, allocations: 0 / 496 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1238, allocations: 3.984 kB / 496 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.1244, allocations: 0.6359 MB / 496.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1244, allocations: 0 / 496.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.1247, allocations: 67.95 kB / 496.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1247, allocations: 7.984 kB / 496.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.1248, allocations: 8 kB / 496.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1248, allocations: 3.938 kB / 496.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1248, allocations: 0 / 496.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.1254, allocations: 0.4907 MB / 497.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.1256, allocations: 235.7 kB / 497.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/0.1257, allocations: 4 kB / 497.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.126, allocations: 15.98 kB / 497.5 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.126, allocations: 27.91 kB / 497.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1261, allocations: 12 kB / 497.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008272/0.1269, allocations: 0.9638 MB / 498.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1269, allocations: 0 / 498.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00045/0.1274, allocations: 171.8 kB / 498.7 MB, free: 9.824 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (32): * Single equations (assignments): 32 * 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.0008301/0.1282, allocations: 469.2 kB / 499.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005713/0.1288, allocations: 315.7 kB / 499.4 MB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1288, allocations: 0 / 499.4 MB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.129, allocations: 151.5 kB / 499.6 MB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.1299, allocations: 205.6 kB / 499.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.1318, allocations: 1.805 MB / 0.4898 GB, free: 6.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.1322, allocations: 1.016 MB / 0.4908 GB, free: 5.934 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003796/0.1325, allocations: 153.6 kB / 0.491 GB, free: 5.781 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1327, allocations: 63.41 kB / 0.491 GB, free: 5.719 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1327, allocations: 0 / 0.491 GB, free: 5.719 MB / 330.7 MB Notification: Performance of Templates: time 0.01538/0.1481, allocations: 10.14 MB / 0.5009 GB, free: 11.64 MB / 346.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1)