Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.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.001381/0.001381, allocations: 81.17 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.001646/0.001646, allocations: 169 kB / 23.27 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.923/0.923, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.03444/0.03444, allocations: 8.716 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.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") translateModel(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 341.3 MB, free: 7.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.634e-05, allocations: 2.312 kB / 341.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank): time 0.002159/0.002175, allocations: 2.653 MB / 344 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.002992, allocations: 0.7789 MB / 344.7 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.003082, allocations: 7.938 kB / 344.7 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.296e-05/0.003175, allocations: 27.72 kB / 344.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.003416, allocations: 127 kB / 344.9 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.003535, allocations: 55.86 kB / 345 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.003703, allocations: 262.5 kB / 345.2 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.003796, allocations: 48.47 kB / 345.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.003956, allocations: 147.6 kB / 345.4 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.004061, allocations: 79.73 kB / 345.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.004081, allocations: 16 kB / 345.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.004143, allocations: 31.98 kB / 345.5 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.004163, allocations: 35.84 kB / 345.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.004204, allocations: 71.83 kB / 345.6 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.004361, allocations: 163.4 kB / 345.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004363, allocations: 0 / 345.8 MB, free: 3.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004364, allocations: 3.938 kB / 345.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004367, allocations: 3.938 kB / 345.8 MB, free: 3.258 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0003542/0.004721, allocations: 0.5364 MB / 346.3 MB, free: 2.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.004748, allocations: 8.031 kB / 346.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.004877, allocations: 52.72 kB / 346.4 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.005009, allocations: 170.7 kB / 346.6 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.00502, allocations: 12.38 kB / 346.6 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.00504, allocations: 16.38 kB / 346.6 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.00519, allocations: 192.5 kB / 346.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.0052, allocations: 3.938 kB / 346.8 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.005211, allocations: 12 kB / 346.8 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.005218, allocations: 8 kB / 346.8 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.005282, allocations: 87.16 kB / 346.9 MB, free: 2.074 MB / 266.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.0004594/0.005742, allocations: 0.6361 MB / 347.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.005865, allocations: 132.9 kB / 347.7 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.0059, allocations: 61.36 kB / 347.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.005917, allocations: 8 kB / 347.7 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.019e-05/0.005927, allocations: 37.39 kB / 347.8 MB, free: 1.129 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.462e-06/0.005929, allocations: 3.984 kB / 347.8 MB, free: 1.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006562/0.006585, allocations: 0.5617 MB / 348.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.006603, allocations: 81.11 kB / 348.4 MB, free: 412 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.762e-05/0.00666, allocations: 212.5 kB / 348.6 MB, free: 184 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.006668, allocations: 29.7 kB / 348.6 MB, free: 148 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.006734, allocations: 183.4 kB / 348.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.006769, allocations: 67.41 kB / 348.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.006819, allocations: 51.3 kB / 348.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.006924, allocations: 0.4998 MB / 349.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.006975, allocations: 57.36 kB / 349.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.471e-05/0.00704, allocations: 96.09 kB / 349.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.007154, allocations: 172.4 kB / 349.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007155, allocations: 7.938 kB / 349.8 MB, free: 14.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001699/0.007325, allocations: 192.9 kB / 349.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.007349, allocations: 33.7 kB / 350 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.007353, allocations: 0 / 350 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.007362, allocations: 4 kB / 350 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.007512, allocations: 55.89 kB / 350 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.007516, allocations: 4 kB / 350 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.007565, allocations: 11.94 kB / 350.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.007575, allocations: 4.094 kB / 350.1 MB, free: 14.61 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: 5 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001164/0.007691, allocations: 206.2 kB / 350.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.007722, allocations: 19.91 kB / 350.3 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.007929, allocations: 206.8 kB / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.007932, allocations: 4 kB / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.007933, allocations: 0 / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.007937, allocations: 0 / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.008306, allocations: 496 kB / 351 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008308, allocations: 0 / 351 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.008443, allocations: 59.91 kB / 351 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008445, allocations: 0 / 351 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.008454, allocations: 4 kB / 351 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008456, allocations: 4 kB / 351 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.00846, allocations: 11.92 kB / 351 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.008725, allocations: 388.8 kB / 351.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.008766, allocations: 31.88 kB / 351.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.008784, allocations: 4 kB / 351.5 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.008844, allocations: 4 kB / 351.5 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.008879, allocations: 19.91 kB / 351.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.008886, allocations: 8.031 kB / 351.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.813e-05/0.008944, allocations: 167.6 kB / 351.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008944, allocations: 3.938 kB / 351.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001864/0.00913, allocations: 48 kB / 351.7 MB, free: 12.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealPump.phi) * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 9.25e-05/0.009223, allocations: 111.2 kB / 351.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.009392, allocations: 212.6 kB / 352 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.009394, allocations: 0 / 352 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.009473, allocations: 152.5 kB / 352.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.009684, allocations: 40.09 kB / 352.2 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.01044, allocations: 475.9 kB / 352.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.34e-05/0.01049, allocations: 83.92 kB / 352.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.347e-05/0.01056, allocations: 29.64 kB / 352.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.01068, allocations: 114.2 kB / 352.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01068, allocations: 0 / 352.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of Templates: time 0.004006/0.01468, allocations: 2.634 MB / 355.5 MB, free: 8.961 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.sim & (cd run_cvode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_gbode.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_gbode.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_gbode.sim & (cd run_gbode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_ida.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_ida.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_ida.sim & (cd run_ida && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHydraulics_OpenHydraulics.DevelopmentTests.GenericRestrictionTestOpenTank_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.434032023884356]