Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.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.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 176.4 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.447/1.447, allocations: 225.7 MB / 241.9 MB, free: 400 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.0007722/0.0007722, allocations: 88.5 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.05391/0.05391, allocations: 12.01 MB / 356.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 9.016 kB / 419.9 MB, free: 87.17 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07287/0.07317, allocations: 53.07 MB / 473 MB, free: 36.42 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest2): time 0.003622/0.07683, allocations: 4.806 MB / 477.8 MB, free: 31.59 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.07959, allocations: 3.111 MB / 480.9 MB, free: 28.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.07988, allocations: 11.94 kB / 480.9 MB, free: 28.28 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.08025, allocations: 143.3 kB / 481.1 MB, free: 28.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.08075, allocations: 310.1 kB / 481.4 MB, free: 27.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/0.08149, allocations: 407.1 kB / 481.8 MB, free: 27.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006688/0.08217, allocations: 1.019 MB / 482.8 MB, free: 26.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.08247, allocations: 266.7 kB / 483.1 MB, free: 26.15 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.08275, allocations: 302.7 kB / 483.3 MB, free: 25.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.08309, allocations: 374.2 kB / 483.7 MB, free: 25.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.909e-05/0.08316, allocations: 28 kB / 483.7 MB, free: 25.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.08352, allocations: 223.8 kB / 484 MB, free: 25.24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.08365, allocations: 143.3 kB / 484.1 MB, free: 25.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.08391, allocations: 395.7 kB / 484.5 MB, free: 24.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.08462, allocations: 0.9852 MB / 485.5 MB, free: 23.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.08463, allocations: 0 / 485.5 MB, free: 23.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.08464, allocations: 3.938 kB / 485.5 MB, free: 23.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.08466, allocations: 0 / 485.5 MB, free: 23.71 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001135/0.0858, allocations: 0.9038 MB / 486.4 MB, free: 22.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.08583, allocations: 8.031 kB / 486.4 MB, free: 22.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.08598, allocations: 84 kB / 486.5 MB, free: 22.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.08649, allocations: 0.5091 MB / 487 MB, free: 22.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.08654, allocations: 49.25 kB / 487 MB, free: 22.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-05/0.08662, allocations: 52 kB / 487.1 MB, free: 22.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/0.08743, allocations: 0.5608 MB / 487.6 MB, free: 21.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.08746, allocations: 4 kB / 487.6 MB, free: 21.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.08751, allocations: 20 kB / 487.7 MB, free: 21.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.08753, allocations: 12 kB / 487.7 MB, free: 21.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.08833, allocations: 0.5283 MB / 488.2 MB, free: 20.89 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.09091, allocations: 2.835 MB / 491 MB, free: 17.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.09153, allocations: 444 kB / 491.5 MB, free: 17.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.09182, allocations: 204.7 kB / 491.7 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.232e-05/0.09191, allocations: 89.09 kB / 491.8 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.09194, allocations: 42.34 kB / 491.8 MB, free: 16.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.09195, allocations: 0 / 491.8 MB, free: 16.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.002075/0.09403, allocations: 1.25 MB / 493 MB, free: 15.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.09407, allocations: 59.41 kB / 493.1 MB, free: 15.57 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 sinusoid.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.0005877/0.09466, allocations: 0.6407 MB / 493.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.09469, allocations: 33.7 kB / 493.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.09485, allocations: 324 kB / 494.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.09493, allocations: 145.9 kB / 494.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.09496, allocations: 12 kB / 494.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.09504, allocations: 370.8 kB / 494.6 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.09532, allocations: 157 kB / 494.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.09562, allocations: 260.1 kB / 495 MB, free: 13.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002918/0.09855, allocations: 0.9727 MB / 496 MB, free: 12.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.09857, allocations: 0 / 496 MB, free: 12.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007831/0.09936, allocations: 0.5315 MB / 496.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.09938, allocations: 8 kB / 496.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.09939, allocations: 0 / 496.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.09942, allocations: 8 kB / 496.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.09989, allocations: 115.9 kB / 496.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.09991, allocations: 11.92 kB / 496.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1002, allocations: 35.95 kB / 496.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.1003, allocations: 19.98 kB / 496.7 MB, free: 11.85 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: j1.volumeClosed.port[2].p:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))) start = j1.p_init unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.prefer ) "Pressure in the connection point" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (checkValve1.variableRestriction.data.zetaLaminarKnown,checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.000312/0.1006, allocations: 277.9 kB / 497 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/0.1007, allocations: 63.16 kB / 497.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009066/0.1016, allocations: 0.5262 MB / 497.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1016, allocations: 7.938 kB / 497.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1016, allocations: 4 kB / 497.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1016, allocations: 3.984 kB / 497.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.1031, allocations: 1.224 MB / 498.8 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1031, allocations: 0 / 498.8 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.1036, allocations: 103.9 kB / 498.9 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1036, allocations: 11.88 kB / 498.9 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.1036, allocations: 15.98 kB / 498.9 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1036, allocations: 0 / 498.9 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1037, allocations: 4 kB / 498.9 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/0.1046, allocations: 0.7712 MB / 499.7 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.1048, allocations: 204.2 kB / 499.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.1049, allocations: 4 kB / 499.9 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.1052, allocations: 23.98 kB / 499.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.1053, allocations: 32.39 kB / 500 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.1053, allocations: 12 kB / 500 MB, free: 8.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004349/0.1058, allocations: 471 kB / 0.4887 GB, free: 8.012 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1058, allocations: 4 kB / 0.4887 GB, free: 8.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004777/0.1063, allocations: 187.9 kB / 0.4889 GB, free: 7.824 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (circuitTank.volumeOpen.m,speed.phi,speed.w,j1.volumeClosed.port[2].p) * 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 (49): * Single equations (assignments): 49 * 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.0008575/0.1071, allocations: 479.7 kB / 0.4894 GB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006604/0.1078, allocations: 410.8 kB / 0.4898 GB, free: 7.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1078, allocations: 128 / 0.4898 GB, free: 7.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.1081, allocations: 218.4 kB / 0.49 GB, free: 6.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.1089, allocations: 198.7 kB / 0.4902 GB, free: 6.648 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1107, allocations: 1.782 MB / 0.4919 GB, free: 4.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.111, allocations: 0.9335 MB / 0.4928 GB, free: 3.879 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.1114, allocations: 117.2 kB / 0.4929 GB, free: 3.766 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.1116, allocations: 67.41 kB / 0.493 GB, free: 3.699 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1116, allocations: 0 / 0.493 GB, free: 3.699 MB / 330.7 MB Notification: Performance of Templates: time 0.01499/0.1266, allocations: 9.927 MB / 0.5027 GB, free: 9.871 MB / 346.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest2.pipe 2>&1)