Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 181.5 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.299/1.299, 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.0007823/0.000782, allocations: 95.89 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.06484/0.06484, allocations: 12.01 MB / 356.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003208, allocations: 8.25 kB / 419.9 MB, free: 87.06 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.08904, allocations: 53.07 MB / 473 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.001862/0.09095, allocations: 1.838 MB / 474.8 MB, free: 34.58 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.09339, allocations: 2.787 MB / 477.6 MB, free: 31.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.09358, allocations: 0 / 477.6 MB, free: 31.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.09383, allocations: 35.8 kB / 477.7 MB, free: 31.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.09411, allocations: 75.52 kB / 477.7 MB, free: 31.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006931/0.09481, allocations: 259.2 kB / 478 MB, free: 31.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.09503, allocations: 163.1 kB / 478.2 MB, free: 31.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.09515, allocations: 33.52 kB / 478.2 MB, free: 30.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.09524, allocations: 55.73 kB / 478.2 MB, free: 30.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/0.09533, allocations: 67.7 kB / 478.3 MB, free: 30.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.09535, allocations: 7.938 kB / 478.3 MB, free: 30.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004278/0.09579, allocations: 215.7 kB / 478.5 MB, free: 30.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.09583, allocations: 23.84 kB / 478.6 MB, free: 30.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.09591, allocations: 93.38 kB / 478.6 MB, free: 30.53 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.09629, allocations: 283.5 kB / 478.9 MB, free: 30.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.09631, allocations: 0 / 478.9 MB, free: 30.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.09631, allocations: 0 / 478.9 MB, free: 30.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.09632, allocations: 0 / 478.9 MB, free: 30.25 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000432/0.09676, allocations: 446.9 kB / 479.4 MB, free: 29.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.0968, allocations: 12.03 kB / 479.4 MB, free: 29.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.09685, allocations: 12.75 kB / 479.4 MB, free: 29.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.09705, allocations: 216.1 kB / 479.6 MB, free: 29.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.09707, allocations: 8.375 kB / 479.6 MB, free: 29.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.0971, allocations: 16.06 kB / 479.6 MB, free: 29.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.0973, allocations: 127.8 kB / 479.7 MB, free: 29.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.09732, allocations: 0 / 479.7 MB, free: 29.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.09734, allocations: 0 / 479.7 MB, free: 29.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.09735, allocations: 8 kB / 479.7 MB, free: 29.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.09753, allocations: 123.8 kB / 479.9 MB, free: 29.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009267/0.09846, allocations: 0.915 MB / 480.8 MB, free: 28.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.09859, allocations: 62.5 kB / 480.8 MB, free: 28.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.09865, allocations: 24.97 kB / 480.9 MB, free: 28.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.763e-05/0.09875, allocations: 89.09 kB / 481 MB, free: 27.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.09878, allocations: 34.56 kB / 481 MB, free: 27.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.09879, allocations: 0 / 481 MB, free: 27.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002825/0.09908, allocations: 93.58 kB / 481.1 MB, free: 27.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.09911, allocations: 55.41 kB / 481.1 MB, free: 27.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.09926, allocations: 220.2 kB / 481.4 MB, free: 27.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.09928, allocations: 25.7 kB / 481.4 MB, free: 27.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.09934, allocations: 115.9 kB / 481.5 MB, free: 27.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.09936, allocations: 15.75 kB / 481.5 MB, free: 27.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.09937, allocations: 0 / 481.5 MB, free: 27.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.437e-05/0.09942, allocations: 330.8 kB / 481.8 MB, free: 27.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.09948, allocations: 27.98 kB / 481.9 MB, free: 26.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.09954, allocations: 27.98 kB / 481.9 MB, free: 26.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.723e-05/0.09964, allocations: 61 kB / 481.9 MB, free: 26.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09965, allocations: 4 kB / 481.9 MB, free: 26.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001627/0.09982, allocations: 117.4 kB / 482.1 MB, free: 26.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.09984, allocations: 8 kB / 482.1 MB, free: 26.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.09985, allocations: 0 / 482.1 MB, free: 26.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.09987, allocations: 0 / 482.1 MB, free: 26.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.09997, allocations: 19.92 kB / 482.1 MB, free: 26.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.09998, allocations: 4 kB / 482.1 MB, free: 26.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.1001, allocations: 7.844 kB / 482.1 MB, free: 26.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1001, allocations: 4 kB / 482.1 MB, free: 26.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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 6.501e-05/0.1001, allocations: 129.8 kB / 482.2 MB, free: 26.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1002, allocations: 19.73 kB / 482.2 MB, free: 26.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.1004, allocations: 98.69 kB / 482.3 MB, free: 26.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1004, allocations: 0 / 482.3 MB, free: 26.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1004, allocations: 4 kB / 482.3 MB, free: 26.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1004, allocations: 320 / 482.3 MB, free: 26.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.1008, allocations: 391.2 kB / 482.7 MB, free: 26.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1008, allocations: 4 kB / 482.7 MB, free: 26.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.1008, allocations: 11.94 kB / 482.7 MB, free: 26.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1008, allocations: 0 / 482.7 MB, free: 26.01 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1008, allocations: 7.984 kB / 482.8 MB, free: 26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1009, allocations: 0 / 482.8 MB, free: 26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1009, allocations: 0 / 482.8 MB, free: 26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.101, allocations: 188.2 kB / 482.9 MB, free: 25.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.1011, allocations: 104.9 kB / 483 MB, free: 25.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1011, allocations: 0 / 483 MB, free: 25.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.1012, allocations: 4 kB / 483 MB, free: 25.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.1012, allocations: 3.938 kB / 483 MB, free: 25.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1012, allocations: 4 kB / 483.1 MB, free: 25.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.1013, allocations: 159 kB / 483.2 MB, free: 25.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1013, allocations: 3.938 kB / 483.2 MB, free: 25.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003092/0.1016, allocations: 75.94 kB / 483.3 MB, free: 25.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0002589/0.1019, allocations: 183.1 kB / 483.5 MB, free: 25.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.1021, allocations: 59.97 kB / 483.5 MB, free: 25.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1021, allocations: 0 / 483.5 MB, free: 25.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.1021, allocations: 27.92 kB / 483.6 MB, free: 25.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1025, allocations: 40.17 kB / 483.6 MB, free: 25.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.103, allocations: 326.5 kB / 483.9 MB, free: 24.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.1032, allocations: 0.7088 MB / 484.6 MB, free: 24.03 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.842e-05/0.1033, allocations: 33.66 kB / 484.7 MB, free: 24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.1033, allocations: 15.44 kB / 484.7 MB, free: 23.98 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1033, allocations: 0 / 484.7 MB, free: 23.98 MB / 330.7 MB Notification: Performance of Templates: time 0.005595/0.1089, allocations: 3.181 MB / 487.8 MB, free: 20.82 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)