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.001009/0.001009, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001136/0.001136, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.012/1.012, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03551/0.03551, allocations: 8.715 MB / 268.7 MB, free: 4.535 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.994e-06/1.994e-06, allocations: 0 / 340.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.155e-05, allocations: 2.312 kB / 340.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003609/0.00364, allocations: 2.68 MB / 343.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.006537, allocations: 1.974 MB / 345.5 MB, free: 3.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.00677, allocations: 4 kB / 345.5 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.007011, allocations: 63.42 kB / 345.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.007259, allocations: 115 kB / 345.7 MB, free: 3.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.007921, allocations: 418.3 kB / 346.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.008142, allocations: 326 kB / 346.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.008277, allocations: 62.69 kB / 346.5 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.008467, allocations: 175.6 kB / 346.6 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.008579, allocations: 91.72 kB / 346.7 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.008602, allocations: 20 kB / 346.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.008817, allocations: 195.8 kB / 346.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.008842, allocations: 47.78 kB / 347 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.008901, allocations: 91.77 kB / 347.1 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.009237, allocations: 354.8 kB / 347.4 MB, free: 1.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.009241, allocations: 0 / 347.4 MB, free: 1.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.009243, allocations: 0 / 347.4 MB, free: 1.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.009248, allocations: 0 / 347.4 MB, free: 1.465 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.0004808/0.009729, allocations: 0.5926 MB / 348 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.009763, allocations: 8.031 kB / 348 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.00992, allocations: 56.78 kB / 348.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.01012, allocations: 217.7 kB / 348.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.01013, allocations: 12.38 kB / 348.3 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.01015, allocations: 20.38 kB / 348.3 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.01037, allocations: 181.7 kB / 348.5 MB, free: 308 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.01038, allocations: 3.938 kB / 348.5 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.0104, allocations: 12 kB / 348.5 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.0104, allocations: 4 kB / 348.5 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.01052, allocations: 67.95 kB / 348.6 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/0.01131, allocations: 0.8055 MB / 349.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.01156, allocations: 79.06 kB / 349.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.0116, allocations: 27.67 kB / 349.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.01164, allocations: 7.938 kB / 349.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.01166, allocations: 41.39 kB / 349.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.01167, allocations: 0 / 349.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006862/0.01235, allocations: 285.6 kB / 349.8 MB, free: 14.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.01238, allocations: 51.41 kB / 349.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.01254, allocations: 280.3 kB / 350.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.01256, allocations: 29.7 kB / 350.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.01264, allocations: 223 kB / 350.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.01267, allocations: 43.66 kB / 350.4 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.01272, allocations: 47.34 kB / 350.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.01284, allocations: 0.4962 MB / 351 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.01289, allocations: 23.98 kB / 351 MB, free: 13.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.13e-05/0.01297, allocations: 75.91 kB / 351.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.01308, allocations: 98.11 kB / 351.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.01309, allocations: 0 / 351.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000185/0.01327, allocations: 145.5 kB / 351.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.01328, allocations: 11.94 kB / 351.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.01329, allocations: 4.016 kB / 351.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.01331, allocations: 4 kB / 351.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.01341, allocations: 39.97 kB / 351.4 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01341, allocations: 3.984 kB / 351.4 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.01347, allocations: 11.98 kB / 351.4 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.01348, allocations: 12.12 kB / 351.4 MB, free: 13.21 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.982e-05/0.01356, allocations: 164.5 kB / 351.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.01359, allocations: 23.86 kB / 351.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.01377, allocations: 119.3 kB / 351.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01378, allocations: 4 kB / 351.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01378, allocations: 0 / 351.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01378, allocations: 0 / 351.7 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.01396, allocations: 204.5 kB / 351.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01396, allocations: 0 / 351.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.01403, allocations: 31.92 kB / 351.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01403, allocations: 0 / 351.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.01404, allocations: 3.984 kB / 351.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01404, allocations: 3.938 kB / 351.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01404, allocations: 0 / 351.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.01421, allocations: 247.8 kB / 352.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.01426, allocations: 35.83 kB / 352.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.01428, allocations: 4 kB / 352.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.01434, allocations: 15.92 kB / 352.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.01438, allocations: 7.922 kB / 352.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01439, allocations: 8 kB / 352.2 MB, free: 12.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.01448, allocations: 197.1 kB / 352.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01448, allocations: 0 / 352.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.01473, allocations: 95.73 kB / 352.5 MB, free: 12 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.0002226/0.01495, allocations: 171 kB / 352.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.01512, allocations: 91.7 kB / 352.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01512, allocations: 0 / 352.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.01517, allocations: 39.61 kB / 352.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.01543, allocations: 52.95 kB / 352.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.01633, allocations: 430.6 kB / 353.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.724e-05/0.01638, allocations: 79.97 kB / 353.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.277e-05/0.01645, allocations: 33.61 kB / 353.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.0165, allocations: 16.5 kB / 353.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.0165, allocations: 0 / 353.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of Templates: time 0.005271/0.02177, allocations: 3.569 MB / 357 MB, free: 7.551 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 & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.040917584206909]