Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.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.001529/0.001529, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.001773/0.001773, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9988/0.9988, allocations: 177.1 MB / 203.5 MB, free: 5.773 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.04112/0.04112, allocations: 8.708 MB / 268.7 MB, free: 4.766 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.PumpTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest") translateModel(OpenHydraulics.DevelopmentTests.PumpTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 395.4 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.183e-05, allocations: 2.281 kB / 395.4 MB, free: 1.535 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.004338/0.00436, allocations: 4.649 MB / 400.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.006172, allocations: 1.528 MB / 401.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.006401, allocations: 15.94 kB / 401.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.00663, allocations: 138.7 kB / 401.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006012/0.007231, allocations: 428.8 kB / 402.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.007592, allocations: 327.5 kB / 402.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009355/0.008528, allocations: 1.623 MB / 404.1 MB, free: 8.801 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003268/0.008854, allocations: 324 kB / 404.4 MB, free: 8.465 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006317/0.009486, allocations: 0.8654 MB / 405.3 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.009932, allocations: 0.5415 MB / 405.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.01004, allocations: 132 kB / 406 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.0102, allocations: 155.9 kB / 406.1 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.01051, allocations: 299 kB / 406.4 MB, free: 6.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.0108, allocations: 455 kB / 406.9 MB, free: 6.035 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009135/0.01171, allocations: 1.516 MB / 408.4 MB, free: 4.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01172, allocations: 0 / 408.4 MB, free: 4.516 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01172, allocations: 0 / 408.4 MB, free: 4.516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.01173, allocations: 0 / 408.4 MB, free: 4.516 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001317/0.01305, allocations: 1.221 MB / 409.6 MB, free: 3.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.01308, allocations: 8.031 kB / 409.6 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.01325, allocations: 116.3 kB / 409.7 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.01383, allocations: 0.5531 MB / 410.3 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.01387, allocations: 65.94 kB / 410.3 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.557e-05/0.01396, allocations: 87.94 kB / 410.4 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.01505, allocations: 1.015 MB / 411.4 MB, free: 1.367 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.01507, allocations: 3.953 kB / 411.5 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.01512, allocations: 36 kB / 411.5 MB, free: 1.328 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.01513, allocations: 20 kB / 411.5 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009709/0.0161, allocations: 0.7964 MB / 412.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1624/0.1785, allocations: 2.776 MB / 415.1 MB, free: 27.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.1793, allocations: 447.4 kB / 415.5 MB, free: 27.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.1797, allocations: 224.1 kB / 415.7 MB, free: 27.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.1797, allocations: 4.844 kB / 415.7 MB, free: 27.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.1797, allocations: 39.23 kB / 415.8 MB, free: 27.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 2.625e-06/0.1797, allocations: 7.438 kB / 415.8 MB, free: 27.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.001625/0.1813, allocations: 0.8363 MB / 416.6 MB, free: 26.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.1814, allocations: 60.41 kB / 416.7 MB, free: 26.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.1819, allocations: 0.5434 MB / 417.2 MB, free: 26.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.182, allocations: 45.33 kB / 417.3 MB, free: 26.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1822, allocations: 443.8 kB / 417.7 MB, free: 26.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.272e-05/0.1822, allocations: 160.2 kB / 417.9 MB, free: 26.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.1824, allocations: 123.5 kB / 418 MB, free: 26.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.1825, allocations: 365 kB / 418.3 MB, free: 25.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.1828, allocations: 259.2 kB / 418.6 MB, free: 25.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.1832, allocations: 373.7 kB / 419 MB, free: 25.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.1838, allocations: 0.5181 MB / 419.5 MB, free: 24.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.1838, allocations: 1.219 kB / 419.5 MB, free: 24.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009524/0.1847, allocations: 0.7312 MB / 420.2 MB, free: 24.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1847, allocations: 10.12 kB / 420.2 MB, free: 24.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1847, allocations: 4.812 kB / 420.2 MB, free: 24.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.1851, allocations: 253.1 kB / 420.5 MB, free: 24.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.1854, allocations: 129.4 kB / 420.6 MB, free: 24.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.1873, allocations: 3.32 MB / 423.9 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.1877, allocations: 111.6 kB / 424 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.1878, allocations: 25.45 kB / 424 MB, free: 21.44 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: constantSpeed.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 16 (variableDisplacementPump1.mechanicalPumpLosses.free,variableDisplacementPump.mechanicalPumpLosses.free,variableDisplacementPump1.mechanicalPumpLosses.mode,$PRE.variableDisplacementPump1.mechanicalPumpLosses.mode,variableDisplacementPump1.mechanicalPumpLosses.locked,variableDisplacementPump1.mechanicalPumpLosses.startBackward,$PRE.variableDisplacementPump1.mechanicalPumpLosses.startBackward,variableDisplacementPump1.mechanicalPumpLosses.startForward,$PRE.variableDisplacementPump1.mechanicalPumpLosses.startForward,variableDisplacementPump.mechanicalPumpLosses.mode,$PRE.variableDisplacementPump.mechanicalPumpLosses.mode,variableDisplacementPump.mechanicalPumpLosses.locked,variableDisplacementPump.mechanicalPumpLosses.startBackward,$PRE.variableDisplacementPump.mechanicalPumpLosses.startBackward,variableDisplacementPump.mechanicalPumpLosses.startForward,$PRE.variableDisplacementPump.mechanicalPumpLosses.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000328/0.1881, allocations: 273.3 kB / 424.3 MB, free: 21.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.1882, allocations: 62.58 kB / 424.4 MB, free: 21.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008234/0.189, allocations: 0.5696 MB / 424.9 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.189, allocations: 4.5 kB / 424.9 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.189, allocations: 1.422 kB / 424.9 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.189, allocations: 3.281 kB / 425 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.1907, allocations: 1.287 MB / 426.2 MB, free: 20.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1907, allocations: 2.375 kB / 426.2 MB, free: 20.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.1909, allocations: 70.89 kB / 426.3 MB, free: 20.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/0.1911, allocations: 226.6 kB / 426.5 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.1912, allocations: 18.62 kB / 426.5 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.1931, allocations: 2.944 MB / 429.5 MB, free: 17.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.1931, allocations: 3.219 kB / 429.5 MB, free: 17.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.1942, allocations: 0.8936 MB / 430.4 MB, free: 16.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.1944, allocations: 123.4 kB / 430.5 MB, free: 16.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.1944, allocations: 32.27 kB / 430.5 MB, free: 16.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.1947, allocations: 63.27 kB / 430.6 MB, free: 16.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004075/0.1951, allocations: 242.6 kB / 430.8 MB, free: 16.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.1952, allocations: 24.42 kB / 430.9 MB, free: 16.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004073/0.1956, allocations: 381.2 kB / 431.2 MB, free: 16.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1956, allocations: 1.25 kB / 431.2 MB, free: 16.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007577/0.1963, allocations: 261.5 kB / 431.5 MB, free: 16.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 8 (variableDisplacementPump.mechanicalPumpLosses.startForward,variableDisplacementPump.mechanicalPumpLosses.startBackward,variableDisplacementPump.mechanicalPumpLosses.locked,variableDisplacementPump.mechanicalPumpLosses.mode,variableDisplacementPump1.mechanicalPumpLosses.startForward,variableDisplacementPump1.mechanicalPumpLosses.startBackward,variableDisplacementPump1.mechanicalPumpLosses.locked,variableDisplacementPump1.mechanicalPumpLosses.mode) * Number of discrete states: 6 (variableDisplacementPump.mechanicalPumpLosses.mode,variableDisplacementPump.mechanicalPumpLosses.startBackward,variableDisplacementPump.mechanicalPumpLosses.startForward,variableDisplacementPump1.mechanicalPumpLosses.mode,variableDisplacementPump1.mechanicalPumpLosses.startBackward,variableDisplacementPump1.mechanicalPumpLosses.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001706/0.1965, allocations: 133 kB / 431.6 MB, free: 16.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.1975, allocations: 0.7196 MB / 432.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1975, allocations: 1.094 kB / 432.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.198, allocations: 448.4 kB / 432.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.1985, allocations: 136.1 kB / 432.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.2012, allocations: 1.597 MB / 434.5 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.2016, allocations: 410.7 kB / 434.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.2018, allocations: 64.98 kB / 435 MB, free: 14.56 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2018, allocations: 0 / 435 MB, free: 14.56 MB / 330.7 MB Notification: Performance of Templates: time 0.01528/0.2171, allocations: 18.31 MB / 453.3 MB, free: 15.41 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.174075416987762]