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.0008888/0.0008888, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009875/0.0009875, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9019/0.9019, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.03685/0.03685, allocations: 8.717 MB / 269.8 MB, free: 4.375 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.593e-06/1.593e-06, allocations: 0 / 342.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.776e-05, allocations: 9.062 kB / 342.1 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003145/0.003162, allocations: 2.643 MB / 344.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.005276, allocations: 1.958 MB / 346.7 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.005436, allocations: 7.938 kB / 346.7 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.005675, allocations: 55.44 kB / 346.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.005916, allocations: 119 kB / 346.9 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007017/0.006618, allocations: 418.3 kB / 347.3 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.00689, allocations: 318.1 kB / 347.6 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.007034, allocations: 66.69 kB / 347.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.007263, allocations: 171.6 kB / 347.8 MB, free: 2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.007405, allocations: 95.72 kB / 347.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.007433, allocations: 23.94 kB / 347.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.007713, allocations: 195.8 kB / 348.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.00775, allocations: 51.77 kB / 348.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.007823, allocations: 87.78 kB / 348.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.008222, allocations: 342.8 kB / 348.6 MB, free: 1.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.008224, allocations: 8 kB / 348.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008225, allocations: 0 / 348.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.008229, allocations: 0 / 348.6 MB, free: 1.211 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.0005447/0.008774, allocations: 0.5925 MB / 349.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.008811, allocations: 8.031 kB / 349.2 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.00901, allocations: 56.78 kB / 349.3 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.009231, allocations: 213.7 kB / 349.5 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.009248, allocations: 16.38 kB / 349.5 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.009268, allocations: 12.38 kB / 349.5 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.00951, allocations: 185.6 kB / 349.7 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.00952, allocations: 0 / 349.7 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.009536, allocations: 8 kB / 349.7 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.009544, allocations: 4 kB / 349.7 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.009692, allocations: 61.3 kB / 349.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.01067, allocations: 0.8055 MB / 350.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.01093, allocations: 83 kB / 350.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/0.01097, allocations: 19.67 kB / 350.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.01102, allocations: 4 kB / 350.7 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.01104, allocations: 41.39 kB / 350.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.01105, allocations: 0 / 350.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008679/0.01191, allocations: 245.7 kB / 350.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.01195, allocations: 51.41 kB / 351 MB, free: 14.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.01215, allocations: 280.3 kB / 351.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.01217, allocations: 29.7 kB / 351.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01229, allocations: 226.7 kB / 351.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.01232, allocations: 35.69 kB / 351.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.0124, allocations: 55.33 kB / 351.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.01256, allocations: 0.4962 MB / 352.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.107e-05/0.01261, allocations: 15.98 kB / 352.1 MB, free: 13.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.7e-05/0.0127, allocations: 72.89 kB / 352.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.01283, allocations: 89.72 kB / 352.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01283, allocations: 0 / 352.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002419/0.01308, allocations: 145.4 kB / 352.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.01309, allocations: 8 kB / 352.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.0131, allocations: 4.172 kB / 352.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01311, allocations: 4 kB / 352.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.01326, allocations: 35.97 kB / 352.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.01326, allocations: 7.922 kB / 352.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.01337, allocations: 15.98 kB / 352.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.01339, allocations: 8 kB / 352.5 MB, free: 13.04 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 0.0001051/0.0135, allocations: 164.7 kB / 352.7 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.01355, allocations: 23.86 kB / 352.7 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.01377, allocations: 115.2 kB / 352.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01378, allocations: 0 / 352.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.01378, allocations: 4 kB / 352.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01378, allocations: 0 / 352.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.014, allocations: 165.1 kB / 353 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.014, allocations: 0 / 353 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.0141, allocations: 23.98 kB / 353 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.0141, allocations: 4 kB / 353 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01412, allocations: 3.984 kB / 353 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.01412, allocations: 4 kB / 353 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.01412, allocations: 3.938 kB / 353 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.01461, allocations: 255.6 kB / 353.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.01468, allocations: 35.83 kB / 353.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.01471, allocations: 0 / 353.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.01482, allocations: 11.98 kB / 353.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.01486, allocations: 11.92 kB / 353.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.01487, allocations: 0 / 353.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.01498, allocations: 197.1 kB / 353.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01498, allocations: 0 / 353.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.0154, allocations: 95.73 kB / 353.6 MB, free: 11.88 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.0002588/0.01566, allocations: 167 kB / 353.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.01584, allocations: 83.62 kB / 353.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01584, allocations: 0 / 353.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.01591, allocations: 31.61 kB / 353.9 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.0003977/0.0163, allocations: 52.95 kB / 353.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.01739, allocations: 427 kB / 354.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.044e-05/0.01745, allocations: 83.83 kB / 354.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.01756, allocations: 37.55 kB / 354.5 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.01773, allocations: 122.2 kB / 354.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01773, allocations: 0 / 354.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of Templates: time 0.006268/0.024, allocations: 4.064 MB / 358.6 MB, free: 6.855 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: 2.572893839329481]