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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 105.9 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 207.6 MB / 231.9 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05846/0.05846, allocations: 12 MB / 296 MB, free: 10.46 MB / 238.1 MB [Timeout remaining time 90] Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 76.55 kB / 414.7 MB, free: 43.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1132, allocations: 51.9 MB / 466.6 MB, free: 7.094 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.004392/0.1176, allocations: 2.607 MB / 469.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.1206, allocations: 1.99 MB / 471.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.1208, allocations: 11.88 kB / 471.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1211, allocations: 63.53 kB / 471.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1214, allocations: 115 kB / 471.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008623/0.1223, allocations: 378.6 kB / 471.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.1226, allocations: 310.3 kB / 472.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.1228, allocations: 62.27 kB / 472.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.123, allocations: 115.6 kB / 472.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1232, allocations: 115.4 kB / 472.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.1232, allocations: 20 kB / 472.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.1236, allocations: 187.8 kB / 472.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.1236, allocations: 43.86 kB / 472.6 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1238, allocations: 139.3 kB / 472.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005496/0.1243, allocations: 362.6 kB / 473.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1244, allocations: 0 / 473.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1244, allocations: 0 / 473.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1244, allocations: 0 / 473.1 MB, free: 0.5703 MB / 334.1 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.0009208/0.1253, allocations: 0.5564 MB / 473.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1253, allocations: 15.89 kB / 473.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.1254, allocations: 24.8 kB / 473.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.1258, allocations: 275.8 kB / 474 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1258, allocations: 12.38 kB / 474 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.1258, allocations: 24.06 kB / 474 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.1263, allocations: 211.7 kB / 474.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1263, allocations: 0 / 474.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.1263, allocations: 12 kB / 474.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.1263, allocations: 4 kB / 474.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.1267, allocations: 159.8 kB / 474.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.1283, allocations: 1.208 MB / 475.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.1287, allocations: 106.5 kB / 475.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1289, allocations: 48.83 kB / 475.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.129, allocations: 81.11 kB / 475.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.129, allocations: 38.5 kB / 475.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.129, allocations: 0 / 475.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002227/0.1312, allocations: 0.5162 MB / 476.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.1313, allocations: 59.34 kB / 476.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.1316, allocations: 258.7 kB / 476.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.1316, allocations: 25.7 kB / 476.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.1318, allocations: 168.3 kB / 476.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.1318, allocations: 39.59 kB / 476.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.1319, allocations: 45.69 kB / 477 MB, free: 12.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1321, allocations: 330.8 kB / 477.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.1322, allocations: 63.94 kB / 477.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.1325, allocations: 106.1 kB / 477.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.1329, allocations: 176 kB / 477.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1329, allocations: 0 / 477.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005139/0.1334, allocations: 229.3 kB / 477.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1334, allocations: 4 kB / 477.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1334, allocations: 0 / 477.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.1334, allocations: 8 kB / 477.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.1336, allocations: 52.02 kB / 477.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1336, allocations: 0 / 477.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1338, allocations: 15.98 kB / 477.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1338, allocations: 8 kB / 477.9 MB, free: 11.36 MB / 350.1 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 0.000156/0.134, allocations: 137.8 kB / 478.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.134, allocations: 27.8 kB / 478.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.1345, allocations: 192.2 kB / 478.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1345, allocations: 0 / 478.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1345, allocations: 3.938 kB / 478.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1345, allocations: 0 / 478.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.1349, allocations: 281.5 kB / 478.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1349, allocations: 0 / 478.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.1351, allocations: 35.91 kB / 478.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1351, allocations: 3.984 kB / 478.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1351, allocations: 7.984 kB / 478.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1351, allocations: 0 / 478.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1351, allocations: 4 kB / 478.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.1356, allocations: 279.4 kB / 478.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1357, allocations: 108.9 kB / 479 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.1357, allocations: 8 kB / 479 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1359, allocations: 7.984 kB / 479 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.1359, allocations: 11.98 kB / 479 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.1359, allocations: 7.938 kB / 479 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.1361, allocations: 186 kB / 479.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1361, allocations: 3.938 kB / 479.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004903/0.1366, allocations: 91.8 kB / 479.3 MB, free: 9.887 MB / 350.1 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.000323/0.1369, allocations: 167 kB / 479.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.1374, allocations: 151.8 kB / 479.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1374, allocations: 0 / 479.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.1376, allocations: 76.14 kB / 479.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.1381, allocations: 56.75 kB / 479.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1392, allocations: 493.7 kB / 480.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.1396, allocations: 0.744 MB / 481 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.1397, allocations: 27.36 kB / 481 MB, free: 8.121 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1397, allocations: 0 / 481 MB, free: 8.121 MB / 350.1 MB Notification: Performance of Templates: time 0.00686/0.1466, allocations: 3.674 MB / 484.7 MB, free: 4.461 MB / 350.1 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=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 480]