Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.0013/0.0013, allocations: 81.86 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.001569/0.001569, allocations: 169.7 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.8787/0.8787, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.03414/0.03414, allocations: 8.724 MB / 269 MB, free: 4.371 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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 341.3 MB, free: 7.785 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.237e-06/1.053e-05, allocations: 6.312 kB / 341.3 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.001982/0.001993, allocations: 2.651 MB / 344 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.003518, allocations: 1.954 MB / 345.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.003636, allocations: 4 kB / 345.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.003818, allocations: 63.38 kB / 346 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.003992, allocations: 123 kB / 346.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.004479, allocations: 406.3 kB / 346.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.004667, allocations: 326.1 kB / 346.8 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.004772, allocations: 66.69 kB / 346.9 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.004932, allocations: 171.6 kB / 347 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.005034, allocations: 95.72 kB / 347.1 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.005054, allocations: 20 kB / 347.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.005244, allocations: 199.7 kB / 347.4 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.005266, allocations: 47.72 kB / 347.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.005314, allocations: 91.77 kB / 347.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.005592, allocations: 342.8 kB / 347.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005594, allocations: 0 / 347.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.005594, allocations: 8 kB / 347.8 MB, free: 1.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005598, allocations: 0 / 347.8 MB, free: 1.227 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0003739/0.005972, allocations: 0.5925 MB / 348.4 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.497e-05/0.005997, allocations: 8.031 kB / 348.4 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.006127, allocations: 56.77 kB / 348.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.006269, allocations: 213.7 kB / 348.7 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.006279, allocations: 20.38 kB / 348.7 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.006292, allocations: 16.38 kB / 348.7 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.00645, allocations: 181.6 kB / 348.9 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.006457, allocations: 0 / 348.9 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.006468, allocations: 8 kB / 348.9 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.006474, allocations: 4 kB / 348.9 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.006577, allocations: 61.36 kB / 349 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006705/0.007247, allocations: 0.8054 MB / 349.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.007423, allocations: 75.02 kB / 349.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.758e-05/0.007451, allocations: 23.84 kB / 349.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.00748, allocations: 7.984 kB / 349.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.007496, allocations: 41.38 kB / 349.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.007497, allocations: 0 / 349.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000544/0.008041, allocations: 245.7 kB / 350.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.008068, allocations: 51.41 kB / 350.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.008204, allocations: 280.2 kB / 350.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.008219, allocations: 33.7 kB / 350.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.008298, allocations: 214.8 kB / 350.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.008321, allocations: 39.67 kB / 350.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.008372, allocations: 47.34 kB / 350.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.008481, allocations: 0.504 MB / 351.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.343e-05/0.008515, allocations: 15.98 kB / 351.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.504e-05/0.00857, allocations: 78.33 kB / 351.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.765e-05/0.008657, allocations: 86.34 kB / 351.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.008658, allocations: 0 / 351.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001492/0.008807, allocations: 137.4 kB / 351.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.008819, allocations: 8 kB / 351.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.008823, allocations: 4.172 kB / 351.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.00883, allocations: 0 / 351.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.008922, allocations: 39.97 kB / 351.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.008926, allocations: 3.984 kB / 351.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.586e-05/0.008981, allocations: 12 kB / 351.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.008993, allocations: 7.984 kB / 351.7 MB, free: 13.07 MB / 282.7 MB 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 (18): * Single equations (assignments): 18 * 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 7.174e-05/0.009065, allocations: 168.6 kB / 351.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.009096, allocations: 23.86 kB / 351.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.009246, allocations: 119.3 kB / 352 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.009247, allocations: 3.938 kB / 352 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.009249, allocations: 0 / 352 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.009251, allocations: 4 kB / 352 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.009386, allocations: 161.1 kB / 352.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.009387, allocations: 0 / 352.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.009453, allocations: 23.98 kB / 352.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.009455, allocations: 0 / 352.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.009464, allocations: 11.98 kB / 352.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.009466, allocations: 4 kB / 352.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.009469, allocations: 7.938 kB / 352.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.009617, allocations: 247.7 kB / 352.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.009658, allocations: 31.83 kB / 352.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.009677, allocations: 4 kB / 352.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.009737, allocations: 4 kB / 352.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.009766, allocations: 19.91 kB / 352.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.009772, allocations: 0 / 352.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.009842, allocations: 189.1 kB / 352.7 MB, free: 12 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009842, allocations: 8 kB / 352.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.01007, allocations: 95.73 kB / 352.8 MB, free: 11.9 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 11 * 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.000173/0.01024, allocations: 171 kB / 353 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01036, allocations: 75.7 kB / 353.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01036, allocations: 4.062 kB / 353.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.01041, allocations: 43.58 kB / 353.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.01064, allocations: 44.95 kB / 353.1 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.01137, allocations: 430.9 kB / 353.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.001e-05/0.01141, allocations: 79.84 kB / 353.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.605e-05/0.01149, allocations: 41.59 kB / 353.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.01161, allocations: 122.2 kB / 353.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01161, allocations: 0 / 353.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of Templates: time 0.005218/0.01683, allocations: 4.004 MB / 357.8 MB, free: 6.922 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & (cd run_cvode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_gbode.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_gbode.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_gbode.sim & (cd run_gbode && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_gbode.pipe 2>&1) [Timeout 240] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_ida.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_ida.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_ida.sim & (cd run_ida && ../OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5028079678304493]