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.001822/0.001822, allocations: 80.08 kB / 19.43 MB, free: 348 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.001996/0.001996, allocations: 161.7 kB / 22.76 MB, free: 1.668 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 178] 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.0613/0.0613, allocations: 8.719 MB / 268.3 MB, free: 4.438 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.773e-06/1.773e-06, allocations: 0 / 340.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.303e-05, allocations: 2.312 kB / 340.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.004334/0.004367, allocations: 4.647 MB / 344.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.006614, allocations: 1.534 MB / 346.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.006903, allocations: 15.94 kB / 346.3 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.007188, allocations: 138.6 kB / 346.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007313/0.007919, allocations: 420.9 kB / 346.9 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.008384, allocations: 331.5 kB / 347.2 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.009632, allocations: 1.631 MB / 348.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.01022, allocations: 312.1 kB / 349.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.01144, allocations: 0.8693 MB / 350 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008672/0.01231, allocations: 0.5299 MB / 350.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.01251, allocations: 136 kB / 350.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.01281, allocations: 163.9 kB / 350.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004659/0.01327, allocations: 291.1 kB / 351.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006085/0.01388, allocations: 459 kB / 351.6 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.0158, allocations: 1.515 MB / 353.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.01581, allocations: 0 / 353.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01581, allocations: 0 / 353.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.01583, allocations: 0 / 353.1 MB, free: 11.37 MB / 282.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.002624/0.01845, allocations: 1.221 MB / 354.3 MB, free: 10.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.01849, allocations: 12.03 kB / 354.3 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000446/0.01893, allocations: 184.2 kB / 354.5 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.01997, allocations: 0.5725 MB / 355.1 MB, free: 9.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.02004, allocations: 62 kB / 355.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.0202, allocations: 87.98 kB / 355.2 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.02222, allocations: 1.011 MB / 356.2 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.02225, allocations: 11.95 kB / 356.2 MB, free: 8.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.02235, allocations: 32 kB / 356.3 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.02237, allocations: 27.94 kB / 356.3 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.02414, allocations: 0.7925 MB / 357.1 MB, free: 7.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00623/0.03037, allocations: 2.822 MB / 359.9 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.0316, allocations: 448.7 kB / 360.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.0322, allocations: 226.9 kB / 360.6 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.822e-05/0.03225, allocations: 16.36 kB / 360.6 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.0323, allocations: 38.94 kB / 360.6 MB, free: 3.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=45): time 2.194e-06/0.0323, allocations: 3.938 kB / 360.6 MB, free: 3.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.002961/0.03526, allocations: 0.8422 MB / 361.5 MB, free: 2.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.03532, allocations: 67.03 kB / 361.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000802/0.03612, allocations: 0.5495 MB / 362.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.0362, allocations: 45.7 kB / 362.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/0.03662, allocations: 443.9 kB / 362.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.03681, allocations: 162.7 kB / 362.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.03707, allocations: 126.3 kB / 362.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.03729, allocations: 362.8 kB / 363.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/0.03789, allocations: 259.4 kB / 363.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.03855, allocations: 380.1 kB / 363.8 MB, free: 300 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009701/0.03952, allocations: 0.5085 MB / 364.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.03952, allocations: 0 / 364.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001667/0.04119, allocations: 0.7605 MB / 365.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.04121, allocations: 13.5 kB / 365.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.04122, allocations: 4 kB / 365.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/0.04188, allocations: 249.5 kB / 365.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.04243, allocations: 123.8 kB / 365.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004373/0.04681, allocations: 3.324 MB / 368.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.04752, allocations: 103.7 kB / 368.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.04759, allocations: 27.98 kB / 368.9 MB, free: 10.92 MB / 298.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.000592/0.04818, allocations: 293 kB / 369.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.04836, allocations: 71.58 kB / 369.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.04982, allocations: 0.5649 MB / 369.8 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.04982, allocations: 4 kB / 369.8 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.04982, allocations: 0 / 369.8 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.04983, allocations: 0 / 369.8 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.05265, allocations: 1.29 MB / 371.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.05266, allocations: 4 kB / 371.1 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.05302, allocations: 79.83 kB / 371.2 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004216/0.05345, allocations: 225.4 kB / 371.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.05349, allocations: 16.27 kB / 371.4 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/0.05737, allocations: 2.966 MB / 374.4 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.05737, allocations: 4.031 kB / 374.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.05929, allocations: 0.9002 MB / 375.3 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.0596, allocations: 131.4 kB / 375.4 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.05972, allocations: 24 kB / 375.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.06025, allocations: 64.05 kB / 375.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005581/0.06081, allocations: 243.5 kB / 375.8 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.06086, allocations: 23.98 kB / 375.8 MB, free: 3.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005327/0.06139, allocations: 382.8 kB / 376.2 MB, free: 3.309 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06139, allocations: 0 / 376.2 MB, free: 3.309 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009392/0.06233, allocations: 259.4 kB / 376.4 MB, free: 3.055 MB / 298.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.000248/0.06258, allocations: 133.1 kB / 376.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.06414, allocations: 0.7128 MB / 377.3 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.06415, allocations: 5.188 kB / 377.3 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009687/0.06512, allocations: 0.5013 MB / 377.8 MB, free: 1.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.06592, allocations: 157.7 kB / 377.9 MB, free: 1.496 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.06992, allocations: 1.584 MB / 379.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.07045, allocations: 412.3 kB / 379.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003125/0.07077, allocations: 77.02 kB / 380 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.07095, allocations: 56.48 kB / 380 MB, free: 15.28 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.07095, allocations: 0 / 380 MB, free: 15.28 MB / 314.7 MB Notification: Performance of Templates: time 0.02128/0.09223, allocations: 11.09 MB / 391.1 MB, free: 4.324 MB / 314.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.922611540008802]