Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009125/0.0009125, allocations: 179.6 kB / 15.43 MB, free: 5.773 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.401/1.401, 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.001083/0.001083, allocations: 96.75 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.05426/0.05426, allocations: 12.01 MB / 356.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.000326, allocations: 8.25 kB / 419.9 MB, free: 87.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08819, allocations: 53.07 MB / 473 MB, free: 36.43 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.002889/0.09112, allocations: 2.72 MB / 475.7 MB, free: 33.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.09433, allocations: 3.35 MB / 479.1 MB, free: 30.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.09473, allocations: 4 kB / 479.1 MB, free: 30.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.09513, allocations: 79.61 kB / 479.2 MB, free: 30 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005267/0.09567, allocations: 159.1 kB / 479.3 MB, free: 29.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.09674, allocations: 375 kB / 479.7 MB, free: 29.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.09721, allocations: 366.2 kB / 480 MB, free: 29.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.09737, allocations: 48.72 kB / 480.1 MB, free: 29.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.09762, allocations: 123.4 kB / 480.2 MB, free: 28.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.09786, allocations: 147.2 kB / 480.3 MB, free: 28.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.09791, allocations: 12 kB / 480.4 MB, free: 28.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005344/0.09846, allocations: 259.8 kB / 480.6 MB, free: 28.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.09856, allocations: 51.72 kB / 480.7 MB, free: 28.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.09872, allocations: 172.8 kB / 480.8 MB, free: 28.31 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006392/0.09936, allocations: 498.7 kB / 481.3 MB, free: 27.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.09938, allocations: 0 / 481.3 MB, free: 27.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.09939, allocations: 0 / 481.3 MB, free: 27.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.0994, allocations: 3.938 kB / 481.3 MB, free: 27.82 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007513/0.1002, allocations: 0.5727 MB / 481.9 MB, free: 27.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1002, allocations: 12.03 kB / 481.9 MB, free: 27.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.1003, allocations: 32.56 kB / 481.9 MB, free: 27.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1006, allocations: 311.4 kB / 482.2 MB, free: 26.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1006, allocations: 16.38 kB / 482.3 MB, free: 26.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.1007, allocations: 20 kB / 482.3 MB, free: 26.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.1011, allocations: 231.2 kB / 482.5 MB, free: 26.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1011, allocations: 0 / 482.5 MB, free: 26.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.1011, allocations: 4 kB / 482.5 MB, free: 26.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1011, allocations: 4 kB / 482.5 MB, free: 26.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.1015, allocations: 249.6 kB / 482.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.1029, allocations: 1.321 MB / 484.1 MB, free: 24.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.1032, allocations: 178.8 kB / 484.3 MB, free: 24.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.1034, allocations: 80.83 kB / 484.3 MB, free: 24.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.1036, allocations: 170.2 kB / 484.5 MB, free: 24.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1036, allocations: 46.48 kB / 484.5 MB, free: 24.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/0.1036, allocations: 0 / 484.5 MB, free: 24.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.02515/0.1287, allocations: 2.852 MB / 487.4 MB, free: 21.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.1288, allocations: 55.41 kB / 487.4 MB, free: 21.3 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 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.000472/0.1293, allocations: 354.6 kB / 487.8 MB, free: 20.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.1294, allocations: 29.7 kB / 487.8 MB, free: 20.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.1295, allocations: 176.7 kB / 488 MB, free: 20.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.764e-05/0.1296, allocations: 114.4 kB / 488.1 MB, free: 20.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.1296, allocations: 4 kB / 488.1 MB, free: 20.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.1297, allocations: 342.8 kB / 488.4 MB, free: 20.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008005/0.1305, allocations: 299.8 kB / 488.7 MB, free: 19.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008008/0.1313, allocations: 342.7 kB / 489.1 MB, free: 19.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.1329, allocations: 0.6077 MB / 489.7 MB, free: 19.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1329, allocations: 0 / 489.7 MB, free: 19.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003133/0.1361, allocations: 0.9747 MB / 490.7 MB, free: 18.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1361, allocations: 4 kB / 490.7 MB, free: 18.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.1361, allocations: 7.938 kB / 490.7 MB, free: 18.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/0.1382, allocations: 1.04 MB / 491.7 MB, free: 16.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.1384, allocations: 63.89 kB / 491.8 MB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.1413, allocations: 1.753 MB / 493.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/0.1419, allocations: 44.03 kB / 493.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.142, allocations: 23.97 kB / 493.6 MB, free: 15.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.1422, allocations: 154.4 kB / 493.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.1423, allocations: 35.53 kB / 493.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.1452, allocations: 0.9785 MB / 494.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.1452, allocations: 4 kB / 494.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1452, allocations: 0 / 494.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1452, allocations: 0 / 494.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/0.1499, allocations: 1.87 MB / 496.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1499, allocations: 0 / 496.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.1502, allocations: 59.97 kB / 496.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.152, allocations: 0.8914 MB / 497.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.152, allocations: 15.98 kB / 497.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.1547, allocations: 1.686 MB / 499.3 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1547, allocations: 0 / 499.3 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.157, allocations: 0.8954 MB / 0.4885 GB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.1572, allocations: 184.5 kB / 0.4886 GB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.1573, allocations: 8 kB / 0.4886 GB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.1579, allocations: 51.86 kB / 0.4887 GB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.158, allocations: 31.89 kB / 0.4887 GB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.1581, allocations: 15.98 kB / 0.4887 GB, free: 7.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002352/0.1583, allocations: 251.2 kB / 0.489 GB, free: 7.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1583, allocations: 0 / 0.489 GB, free: 7.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000745/0.1591, allocations: 235.9 kB / 0.4892 GB, free: 7.496 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/0.1605, allocations: 0.589 MB / 0.4898 GB, free: 7.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.1629, allocations: 0.7031 MB / 0.4905 GB, free: 6.328 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1629, allocations: 128 / 0.4905 GB, free: 6.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.1644, allocations: 387.8 kB / 0.4908 GB, free: 5.949 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.165, allocations: 89.27 kB / 0.4909 GB, free: 5.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.1666, allocations: 0.907 MB / 0.4918 GB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.1668, allocations: 0.7879 MB / 0.4926 GB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.167, allocations: 58.92 kB / 0.4926 GB, free: 4.051 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.569e-05/0.1671, allocations: 35.42 kB / 0.4927 GB, free: 4.016 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.1671, allocations: 0 / 0.4927 GB, free: 4.016 MB / 330.7 MB Notification: Performance of Templates: time 0.02417/0.1913, allocations: 16.27 MB / 0.5085 GB, free: 3.691 MB / 346.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)