Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.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.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") translateModel(OpenHydraulics.DevelopmentTests.CheckValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009482/0.0009483, allocations: 178.8 kB / 15.43 MB, free: 5.832 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.486/1.486, allocations: 225.7 MB / 241.9 MB, free: 208 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.000826/0.000826, allocations: 103.5 kB / 293.1 MB, free: 12.84 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.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003194, allocations: 8.484 kB / 419.9 MB, free: 87.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08269/0.08303, allocations: 53.06 MB / 473 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.CheckValveTest): time 0.002885/0.08595, allocations: 3.223 MB / 476.2 MB, free: 33.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.08833, allocations: 2.706 MB / 478.9 MB, free: 30.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.08856, allocations: 7.938 kB / 478.9 MB, free: 30.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.0889, allocations: 87.55 kB / 479 MB, free: 30.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003377/0.08925, allocations: 171 kB / 479.2 MB, free: 29.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.08983, allocations: 275.4 kB / 479.5 MB, free: 29.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000361/0.0902, allocations: 497.7 kB / 480 MB, free: 29.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.09037, allocations: 95.25 kB / 480 MB, free: 29.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.09054, allocations: 155.3 kB / 480.2 MB, free: 28.99 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.09075, allocations: 187.1 kB / 480.4 MB, free: 28.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.0908, allocations: 12 kB / 480.4 MB, free: 28.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.09111, allocations: 199.8 kB / 480.6 MB, free: 28.6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.0912, allocations: 67.69 kB / 480.7 MB, free: 28.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.09133, allocations: 208.6 kB / 480.9 MB, free: 28.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.0918, allocations: 0.5532 MB / 481.4 MB, free: 27.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.09181, allocations: 0 / 481.4 MB, free: 27.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09182, allocations: 0 / 481.4 MB, free: 27.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.09184, allocations: 4 kB / 481.4 MB, free: 27.77 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007817/0.09262, allocations: 0.6234 MB / 482 MB, free: 27.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.09266, allocations: 12.03 kB / 482 MB, free: 27.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.09279, allocations: 40.47 kB / 482.1 MB, free: 27.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.09309, allocations: 327.4 kB / 482.4 MB, free: 26.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.09312, allocations: 24.5 kB / 482.4 MB, free: 26.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.09317, allocations: 28 kB / 482.5 MB, free: 26.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.09364, allocations: 315.6 kB / 482.8 MB, free: 26.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.09367, allocations: 8 kB / 482.8 MB, free: 26.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.0937, allocations: 8 kB / 482.8 MB, free: 26.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.09371, allocations: 8 kB / 482.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.09414, allocations: 262 kB / 483 MB, free: 26.03 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.001471/0.09562, allocations: 1.485 MB / 484.5 MB, free: 24.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.09597, allocations: 222.5 kB / 484.7 MB, free: 24.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.09614, allocations: 100.8 kB / 484.8 MB, free: 24.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.695e-05/0.09622, allocations: 93.53 kB / 484.9 MB, free: 23.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.09624, allocations: 38.5 kB / 485 MB, free: 23.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.313e-06/0.09625, allocations: 0 / 485 MB, free: 23.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.001813/0.09807, allocations: 0.9027 MB / 485.9 MB, free: 22.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.0981, allocations: 59.58 kB / 485.9 MB, free: 22.87 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.0003301/0.09844, allocations: 381.6 kB / 486.3 MB, free: 22.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.09847, allocations: 33.7 kB / 486.3 MB, free: 22.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/0.09855, allocations: 180.6 kB / 486.5 MB, free: 22.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.09861, allocations: 90.66 kB / 486.6 MB, free: 22.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.09863, allocations: 4 kB / 486.6 MB, free: 22.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.09869, allocations: 346.8 kB / 486.9 MB, free: 21.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.09888, allocations: 101.4 kB / 487 MB, free: 21.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.09908, allocations: 160.6 kB / 487.2 MB, free: 21.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.09947, allocations: 263.8 kB / 487.5 MB, free: 21.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.09948, allocations: 0 / 487.5 MB, free: 21.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004985/0.09998, allocations: 321 kB / 487.8 MB, free: 20.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1, allocations: 8 kB / 487.8 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1, allocations: 7.938 kB / 487.8 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1, allocations: 4 kB / 487.8 MB, free: 20.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.1004, allocations: 83.88 kB / 487.9 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.1004, allocations: 4 kB / 487.9 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.1006, allocations: 15.94 kB / 487.9 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.1006, allocations: 15.98 kB / 487.9 MB, free: 20.8 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (checkValve.variableRestriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001903/0.1008, allocations: 170.4 kB / 488.1 MB, free: 20.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.1009, allocations: 31.62 kB / 488.1 MB, free: 20.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005924/0.1015, allocations: 333.3 kB / 488.4 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1015, allocations: 0 / 488.4 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1015, allocations: 4 kB / 488.4 MB, free: 20.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1015, allocations: 0 / 488.4 MB, free: 20.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.1024, allocations: 0.7572 MB / 489.2 MB, free: 19.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1024, allocations: 4 kB / 489.2 MB, free: 19.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.1028, allocations: 79.88 kB / 489.3 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1028, allocations: 4 kB / 489.3 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.1028, allocations: 4 kB / 489.3 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1028, allocations: 4 kB / 489.3 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1028, allocations: 0 / 489.3 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.1035, allocations: 0.5023 MB / 489.8 MB, free: 18.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1036, allocations: 148.6 kB / 489.9 MB, free: 18.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.1037, allocations: 12 kB / 489.9 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1039, allocations: 23.92 kB / 490 MB, free: 18.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.104, allocations: 15.97 kB / 490 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.104, allocations: 12 kB / 490 MB, free: 18.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002151/0.1042, allocations: 267.2 kB / 490.3 MB, free: 18.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1042, allocations: 0 / 490.3 MB, free: 18.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.1046, allocations: 116 kB / 490.4 MB, free: 18.24 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * 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 (30): * Single equations (assignments): 30 * 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.0008328/0.1054, allocations: 477.9 kB / 490.8 MB, free: 17.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004647/0.1059, allocations: 242.2 kB / 491.1 MB, free: 17.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1059, allocations: 0 / 491.1 MB, free: 17.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.1061, allocations: 124.3 kB / 491.2 MB, free: 17.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/0.1067, allocations: 97.25 kB / 491.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1078, allocations: 0.9859 MB / 492.3 MB, free: 16.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.108, allocations: 0.8027 MB / 493.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00023/0.1082, allocations: 63.23 kB / 493.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.1083, allocations: 35.44 kB / 493.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.1083, allocations: 0 / 493.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of Templates: time 0.008628/0.1169, allocations: 5.733 MB / 498.9 MB, free: 9.824 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.CheckValveTest.pipe 2>&1)