Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009773/0.0009773, allocations: 81.92 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009594/0.0009594, allocations: 173.7 kB / 23.28 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8674/0.8674, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.03453/0.03453, allocations: 8.718 MB / 269 MB, free: 4.395 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 341.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087e-05/1.223e-05, allocations: 2.312 kB / 341.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTest): time 0.003199/0.003211, allocations: 2.905 MB / 344.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.005554, allocations: 2.048 MB / 346.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.005688, allocations: 0 / 346.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.005921, allocations: 63.48 kB / 346.3 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.006169, allocations: 166.7 kB / 346.5 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.006622, allocations: 406.3 kB / 346.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.006829, allocations: 389.9 kB / 347.3 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.006936, allocations: 53.62 kB / 347.3 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.007091, allocations: 207.5 kB / 347.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.00722, allocations: 127.6 kB / 347.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.007243, allocations: 27.98 kB / 347.7 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.007455, allocations: 243.7 kB / 347.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.007492, allocations: 63.75 kB / 348 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.007551, allocations: 115.7 kB / 348.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.007863, allocations: 406.8 kB / 348.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.007865, allocations: 4 kB / 348.5 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007866, allocations: 3.984 kB / 348.5 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.007869, allocations: 0 / 348.5 MB, free: 0.5742 MB / 266.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.0004652/0.008334, allocations: 0.632 MB / 349.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.008366, allocations: 15.88 kB / 349.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.008509, allocations: 64.67 kB / 349.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.008704, allocations: 216.5 kB / 349.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.008719, allocations: 24.88 kB / 349.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.008748, allocations: 24.38 kB / 349.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.008988, allocations: 239.1 kB / 349.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.008999, allocations: 3.938 kB / 349.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.009016, allocations: 11.98 kB / 349.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.009025, allocations: 8 kB / 349.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.009143, allocations: 89.41 kB / 349.8 MB, free: 15.18 MB / 282.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.0008664/0.01001, allocations: 0.8215 MB / 350.6 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.01013, allocations: 99.27 kB / 350.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.01017, allocations: 39.66 kB / 350.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.01023, allocations: 15.98 kB / 350.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.01025, allocations: 41.38 kB / 350.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.01025, allocations: 4 kB / 350.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006984/0.01095, allocations: 466.5 kB / 351.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.01097, allocations: 59.41 kB / 351.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.01109, allocations: 253.7 kB / 351.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.0111, allocations: 29.7 kB / 351.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.01118, allocations: 219.3 kB / 351.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.01122, allocations: 79.3 kB / 351.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.01127, allocations: 59.56 kB / 352 MB, free: 12.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.0114, allocations: 0.5001 MB / 352.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.01145, allocations: 44.61 kB / 352.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.01153, allocations: 130.5 kB / 352.6 MB, free: 12.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.01168, allocations: 152.2 kB / 352.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.01168, allocations: 0 / 352.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001893/0.01187, allocations: 177.3 kB / 352.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.01188, allocations: 4 kB / 352.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01189, allocations: 4 kB / 353 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.0119, allocations: 3.938 kB / 353 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.01204, allocations: 67.89 kB / 353 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01205, allocations: 8.156 kB / 353 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.0121, allocations: 8 kB / 353 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.01212, allocations: 15.98 kB / 353.1 MB, free: 11.69 MB / 282.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 9.823e-05/0.01222, allocations: 164.5 kB / 353.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.01225, allocations: 27.91 kB / 353.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.01245, allocations: 179.3 kB / 353.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01246, allocations: 4 kB / 353.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.01246, allocations: 7.938 kB / 353.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01246, allocations: 0 / 353.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.01294, allocations: 481 kB / 353.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01294, allocations: 8 kB / 353.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.01308, allocations: 55.97 kB / 354 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01308, allocations: 0 / 354 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.01309, allocations: 7.984 kB / 354 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01309, allocations: 3.938 kB / 354 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01309, allocations: 3.938 kB / 354 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.01332, allocations: 328 kB / 354.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.01337, allocations: 43.83 kB / 354.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.01339, allocations: 3.938 kB / 354.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.01346, allocations: 15.92 kB / 354.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.01349, allocations: 19.97 kB / 354.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.0135, allocations: 0 / 354.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.559e-05/0.01356, allocations: 180.7 kB / 354.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01356, allocations: 0 / 354.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.01381, allocations: 119.7 kB / 354.7 MB, free: 9.98 MB / 282.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.0001916/0.014, allocations: 198.8 kB / 354.9 MB, free: 9.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.01415, allocations: 114.5 kB / 355 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.01415, allocations: 0 / 355 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.663e-05/0.01421, allocations: 62.89 kB / 355 MB, free: 9.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.01442, allocations: 51.42 kB / 355.1 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000926/0.01535, allocations: 0.5608 MB / 355.6 MB, free: 8.957 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.01539, allocations: 84.31 kB / 355.7 MB, free: 8.855 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.085e-05/0.01547, allocations: 33.88 kB / 355.8 MB, free: 8.824 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.0156, allocations: 134.1 kB / 355.9 MB, free: 8.691 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0156, allocations: 0 / 355.9 MB, free: 8.691 MB / 282.7 MB Notification: Performance of Templates: time 0.005861/0.02146, allocations: 4.778 MB / 360.7 MB, free: 4.004 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.makefile [Timeout 660] (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 & (cd run_cvode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_gbode.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_gbode.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_gbode.sim & (cd run_gbode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_ida.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_ida.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_ida.sim & (cd run_ida && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.487536075990647]