Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009627/0.0009627, allocations: 175.1 kB / 15.43 MB, free: 6.203 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.346/1.346, allocations: 225.7 MB / 241.9 MB, free: 396 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.0008858/0.0008859, allocations: 88.2 kB / 293.1 MB, free: 12.9 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.05338/0.05338, allocations: 12.02 MB / 356.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004218, allocations: 8.031 kB / 419.9 MB, free: 87.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1022, allocations: 53.07 MB / 473 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003156/0.1054, allocations: 2.86 MB / 475.9 MB, free: 33.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.1087, allocations: 2.966 MB / 478.8 MB, free: 30.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.1089, allocations: 8 kB / 478.8 MB, free: 30.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1092, allocations: 35.75 kB / 478.9 MB, free: 30.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.1095, allocations: 103.2 kB / 479 MB, free: 30.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008373/0.1103, allocations: 295 kB / 479.3 MB, free: 29.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.1106, allocations: 294.4 kB / 479.6 MB, free: 29.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1108, allocations: 74.11 kB / 479.6 MB, free: 29.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.111, allocations: 95.59 kB / 479.7 MB, free: 29.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1112, allocations: 107.5 kB / 479.8 MB, free: 29.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.1112, allocations: 15.94 kB / 479.8 MB, free: 29.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.1116, allocations: 175.8 kB / 480 MB, free: 29.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.886e-05/0.1116, allocations: 43.77 kB / 480.1 MB, free: 29.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.1117, allocations: 141.1 kB / 480.2 MB, free: 28.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.1122, allocations: 347.1 kB / 480.5 MB, free: 28.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1122, allocations: 4 kB / 480.5 MB, free: 28.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1122, allocations: 0 / 480.5 MB, free: 28.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1122, allocations: 0 / 480.5 MB, free: 28.62 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007269/0.113, allocations: 0.5102 MB / 481 MB, free: 28.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.113, allocations: 12.03 kB / 481.1 MB, free: 28.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.1131, allocations: 28.56 kB / 481.1 MB, free: 28.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.1134, allocations: 259.7 kB / 481.3 MB, free: 27.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1134, allocations: 8.375 kB / 481.3 MB, free: 27.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.1135, allocations: 24.11 kB / 481.4 MB, free: 27.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.1139, allocations: 215.9 kB / 481.6 MB, free: 27.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.114, allocations: 0 / 481.6 MB, free: 27.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.114, allocations: 12 kB / 481.6 MB, free: 27.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.114, allocations: 4 kB / 481.6 MB, free: 27.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.1145, allocations: 163.7 kB / 481.8 MB, free: 27.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1159, allocations: 1.22 MB / 483 MB, free: 25.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.1164, allocations: 114.5 kB / 483.1 MB, free: 25.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.1165, allocations: 52.78 kB / 483.1 MB, free: 25.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.024e-05/0.1166, allocations: 85.09 kB / 483.2 MB, free: 25.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.1167, allocations: 42.5 kB / 483.3 MB, free: 25.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.993e-06/0.1167, allocations: 0 / 483.3 MB, free: 25.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.002868/0.1196, allocations: 0.6214 MB / 483.9 MB, free: 24.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1196, allocations: 59.33 kB / 483.9 MB, free: 24.88 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Sources.mo:295:5-295:63:writable] Warning: Parameter sine1.f has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Sources.mo:295:5-295:63:writable] Warning: Parameter sine.f has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.12, allocations: 262.6 kB / 484.2 MB, free: 24.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1201, allocations: 29.7 kB / 484.2 MB, free: 24.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.1201, allocations: 159.9 kB / 484.4 MB, free: 24.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.1202, allocations: 43.45 kB / 484.4 MB, free: 24.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.1202, allocations: 0 / 484.4 MB, free: 24.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.1203, allocations: 342.8 kB / 484.8 MB, free: 24.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1205, allocations: 71.95 kB / 484.8 MB, free: 23.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.1208, allocations: 108.2 kB / 484.9 MB, free: 23.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.1213, allocations: 188.2 kB / 485.1 MB, free: 23.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1213, allocations: 4 kB / 485.1 MB, free: 23.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006309/0.122, allocations: 249.2 kB / 485.4 MB, free: 23.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.122, allocations: 8 kB / 485.4 MB, free: 23.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.122, allocations: 0 / 485.4 MB, free: 23.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.122, allocations: 11.92 kB / 485.4 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.1223, allocations: 47.97 kB / 485.4 MB, free: 23.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1224, allocations: 8.875 kB / 485.4 MB, free: 23.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.1226, allocations: 27.98 kB / 485.5 MB, free: 23.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.1226, allocations: 11.98 kB / 485.5 MB, free: 23.27 MB / 330.7 MB 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 (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 prepare postOptimizeDAE: time 0.0001251/0.1228, allocations: 128.7 kB / 485.6 MB, free: 23.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.1228, allocations: 27.66 kB / 485.6 MB, free: 23.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.1235, allocations: 215.2 kB / 485.8 MB, free: 22.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1235, allocations: 4 kB / 485.8 MB, free: 22.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1235, allocations: 0 / 485.8 MB, free: 22.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1235, allocations: 0 / 485.8 MB, free: 22.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.1239, allocations: 285.4 kB / 486.1 MB, free: 22.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1239, allocations: 0 / 486.1 MB, free: 22.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.1241, allocations: 31.97 kB / 486.2 MB, free: 22.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1241, allocations: 4 kB / 486.2 MB, free: 22.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.1242, allocations: 4 kB / 486.2 MB, free: 22.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1242, allocations: 11.92 kB / 486.2 MB, free: 22.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1242, allocations: 0 / 486.2 MB, free: 22.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.1247, allocations: 303 kB / 486.5 MB, free: 22.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1249, allocations: 112.9 kB / 486.6 MB, free: 22.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.1249, allocations: 4 kB / 486.6 MB, free: 22.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.1252, allocations: 23.89 kB / 486.6 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.1252, allocations: 7.984 kB / 486.6 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1253, allocations: 4 kB / 486.6 MB, free: 22.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.1254, allocations: 186 kB / 486.8 MB, free: 21.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1255, allocations: 0 / 486.8 MB, free: 21.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004992/0.126, allocations: 91.92 kB / 486.9 MB, free: 21.77 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 (11): * Single equations (assignments): 11 * 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.0002702/0.1262, allocations: 163.1 kB / 487.1 MB, free: 21.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005609/0.1268, allocations: 176 kB / 487.2 MB, free: 21.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1268, allocations: 0 / 487.2 MB, free: 21.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.1271, allocations: 83.88 kB / 487.3 MB, free: 21.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.1277, allocations: 61.38 kB / 487.4 MB, free: 21.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1287, allocations: 0.5473 MB / 487.9 MB, free: 20.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.1289, allocations: 0.7482 MB / 488.7 MB, free: 19.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.1291, allocations: 29.94 kB / 488.7 MB, free: 19.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.1291, allocations: 27.42 kB / 488.7 MB, free: 19.88 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1291, allocations: 0 / 488.7 MB, free: 19.88 MB / 330.7 MB Notification: Performance of Templates: time 0.007944/0.1371, allocations: 3.562 MB / 492.3 MB, free: 16.35 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)