Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.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.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 176.5 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.302/1.302, allocations: 225.7 MB / 241.9 MB, free: 384 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.0007651/0.0007651, allocations: 95.97 kB / 293.1 MB, free: 12.88 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.0526/0.0526, allocations: 12.01 MB / 356.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 7.531 kB / 419.9 MB, free: 87.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.07882, allocations: 53.07 MB / 473 MB, free: 36.39 MB / 330.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.002482/0.08134, allocations: 2.822 MB / 475.8 MB, free: 33.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.08393, allocations: 3.096 MB / 478.9 MB, free: 30.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.08419, allocations: 8 kB / 478.9 MB, free: 30.19 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.08445, allocations: 47.67 kB / 479 MB, free: 30.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.08479, allocations: 131.2 kB / 479.1 MB, free: 30.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.08543, allocations: 291.1 kB / 479.4 MB, free: 29.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.08571, allocations: 382.2 kB / 479.8 MB, free: 29.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.08586, allocations: 72.94 kB / 479.8 MB, free: 29.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.08601, allocations: 111.6 kB / 479.9 MB, free: 29.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.08619, allocations: 147.3 kB / 480.1 MB, free: 29.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.08623, allocations: 15.94 kB / 480.1 MB, free: 29.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000331/0.08657, allocations: 219.8 kB / 480.3 MB, free: 28.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.08663, allocations: 55.7 kB / 480.4 MB, free: 28.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.08675, allocations: 161 kB / 480.5 MB, free: 28.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.08717, allocations: 438.9 kB / 481 MB, free: 28.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.08719, allocations: 0 / 481 MB, free: 28.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.0872, allocations: 0 / 481 MB, free: 28.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.08721, allocations: 4 kB / 481 MB, free: 28.14 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0006989/0.08791, allocations: 0.5341 MB / 481.5 MB, free: 27.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.08795, allocations: 12.03 kB / 481.5 MB, free: 27.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.08806, allocations: 32.56 kB / 481.5 MB, free: 27.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.0883, allocations: 268.1 kB / 481.8 MB, free: 27.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.08834, allocations: 20.94 kB / 481.8 MB, free: 27.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.08838, allocations: 24.12 kB / 481.8 MB, free: 27.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.08878, allocations: 279.6 kB / 482.1 MB, free: 26.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.0888, allocations: 0 / 482.1 MB, free: 26.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.08883, allocations: 8 kB / 482.1 MB, free: 26.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.08884, allocations: 4 kB / 482.1 MB, free: 26.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.08918, allocations: 226.1 kB / 482.4 MB, free: 26.66 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.001494/0.09069, allocations: 1.464 MB / 483.8 MB, free: 25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.09092, allocations: 150.7 kB / 484 MB, free: 24.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.09105, allocations: 72.83 kB / 484 MB, free: 24.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.09119, allocations: 174.2 kB / 484.2 MB, free: 24.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.09121, allocations: 34.56 kB / 484.2 MB, free: 24.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.09122, allocations: 3.984 kB / 484.2 MB, free: 24.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001514/0.09274, allocations: 0.7632 MB / 485 MB, free: 23.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.09277, allocations: 51.41 kB / 485.1 MB, free: 23.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.09299, allocations: 266.7 kB / 485.3 MB, free: 23.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.09301, allocations: 29.7 kB / 485.3 MB, free: 23.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.09308, allocations: 164 kB / 485.5 MB, free: 23.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.09312, allocations: 74.98 kB / 485.6 MB, free: 23.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.09314, allocations: 4 kB / 485.6 MB, free: 23.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.09319, allocations: 334.8 kB / 485.9 MB, free: 22.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.09335, allocations: 93.22 kB / 486 MB, free: 22.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.09351, allocations: 122.9 kB / 486.1 MB, free: 22.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.09381, allocations: 216.4 kB / 486.3 MB, free: 22.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.09382, allocations: 0 / 486.3 MB, free: 22.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003915/0.09422, allocations: 273 kB / 486.6 MB, free: 22.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.09424, allocations: 8.469 kB / 486.6 MB, free: 22.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.09425, allocations: 3.938 kB / 486.6 MB, free: 22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.09427, allocations: 4 kB / 486.6 MB, free: 22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.09453, allocations: 80.05 kB / 486.7 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.09455, allocations: 0 / 486.7 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.09469, allocations: 11.98 kB / 486.7 MB, free: 21.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.09472, allocations: 12 kB / 486.7 MB, free: 21.9 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: 7 * 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 (28): * Single equations (assignments): 28 * 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.000145/0.09487, allocations: 150.3 kB / 486.9 MB, free: 21.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.09492, allocations: 27.7 kB / 486.9 MB, free: 21.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/0.09535, allocations: 245.3 kB / 487.1 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.09537, allocations: 4 kB / 487.1 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.09538, allocations: 0 / 487.1 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.09538, allocations: 3.984 kB / 487.1 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/0.0961, allocations: 0.6375 MB / 487.8 MB, free: 20.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.09611, allocations: 0 / 487.8 MB, free: 20.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.09636, allocations: 63.89 kB / 487.8 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.09638, allocations: 4.031 kB / 487.8 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.0964, allocations: 8 kB / 487.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.0964, allocations: 0 / 487.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.09641, allocations: 0 / 487.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.09692, allocations: 415.2 kB / 488.3 MB, free: 20.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.09701, allocations: 124.8 kB / 488.4 MB, free: 20.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.09706, allocations: 8 kB / 488.4 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.09722, allocations: 19.98 kB / 488.4 MB, free: 20.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.09727, allocations: 7.984 kB / 488.4 MB, free: 20.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.09729, allocations: 16 kB / 488.4 MB, free: 20.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.09743, allocations: 194 kB / 488.6 MB, free: 19.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.09744, allocations: 3.938 kB / 488.6 MB, free: 19.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.09779, allocations: 115.9 kB / 488.7 MB, free: 19.78 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * 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.0002366/0.09803, allocations: 191 kB / 488.9 MB, free: 19.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003561/0.0984, allocations: 190 kB / 489.1 MB, free: 19.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.09841, allocations: 0 / 489.1 MB, free: 19.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.09856, allocations: 94.84 kB / 489.2 MB, free: 19.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.09899, allocations: 80.78 kB / 489.3 MB, free: 19.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/0.09986, allocations: 0.7809 MB / 490.1 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.1, allocations: 0.756 MB / 490.8 MB, free: 17.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.1002, allocations: 50.88 kB / 490.9 MB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.1002, allocations: 27.42 kB / 490.9 MB, free: 17.56 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1002, allocations: 0 / 490.9 MB, free: 17.56 MB / 330.7 MB Notification: Performance of Templates: time 0.006786/0.107, allocations: 4.726 MB / 495.6 MB, free: 12.88 MB / 330.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1)