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.001619/0.001619, allocations: 87.56 kB / 20.22 MB, free: 4.207 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.001784/0.001784, allocations: 161.3 kB / 23.53 MB, free: 0.8945 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.028/1.028, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.03389/0.03389, allocations: 8.709 MB / 269 MB, free: 4.566 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 2.014e-06/2.014e-06, allocations: 0 / 340.1 MB, free: 9.191 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.558e-05, allocations: 2.312 kB / 340.1 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.004268/0.004304, allocations: 4.653 MB / 344.8 MB, free: 4.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.007215, allocations: 1.536 MB / 346.3 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005767/0.007792, allocations: 15.94 kB / 346.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.008151, allocations: 126.7 kB / 346.4 MB, free: 2.828 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.009242, allocations: 424.8 kB / 346.9 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.009892, allocations: 331.5 kB / 347.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.01095, allocations: 1.631 MB / 348.8 MB, free: 460 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.01137, allocations: 312.1 kB / 349.1 MB, free: 124 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.01243, allocations: 0.8849 MB / 350 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.01302, allocations: 0.5611 MB / 350.6 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.01314, allocations: 136 kB / 350.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.01336, allocations: 148 kB / 350.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.01353, allocations: 299 kB / 351.1 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.01386, allocations: 470.9 kB / 351.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.01501, allocations: 1.527 MB / 353.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.01502, allocations: 0 / 353.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.01502, allocations: 0 / 353.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.01504, allocations: 0 / 353.1 MB, free: 12.11 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.001715/0.01675, allocations: 1.415 MB / 354.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.01681, allocations: 16.02 kB / 354.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/0.01714, allocations: 180.2 kB / 354.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.01779, allocations: 0.5598 MB / 355.3 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.01784, allocations: 62 kB / 355.3 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.781e-05/0.01793, allocations: 87.94 kB / 355.4 MB, free: 9.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.0192, allocations: 1.079 MB / 356.5 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.01923, allocations: 3.953 kB / 356.5 MB, free: 8.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.01929, allocations: 36 kB / 356.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.0193, allocations: 20 kB / 356.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000944/0.02025, allocations: 0.7299 MB / 357.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.02412, allocations: 3.663 MB / 361 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.0248, allocations: 469.2 kB / 361.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.02514, allocations: 241.7 kB / 361.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.02519, allocations: 8.375 kB / 361.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.02521, allocations: 37.77 kB / 361.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=45): time 4.258e-06/0.02522, allocations: 0 / 361.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.00147/0.02669, allocations: 0.8009 MB / 362.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.02672, allocations: 59.16 kB / 362.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000592/0.02732, allocations: 0.7133 MB / 363.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.02736, allocations: 41.7 kB / 363.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.02762, allocations: 0.5103 MB / 363.8 MB, free: 1.109 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.02773, allocations: 178.7 kB / 364 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.0279, allocations: 159.8 kB / 364.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.02807, allocations: 0.5782 MB / 364.7 MB, free: 184 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.02842, allocations: 286.2 kB / 365 MB, free: 15.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/0.02881, allocations: 456.7 kB / 365.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.02937, allocations: 0.5873 MB / 366 MB, free: 14.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.02937, allocations: 0 / 366 MB, free: 14.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000944/0.03032, allocations: 0.7855 MB / 366.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.03034, allocations: 11.94 kB / 366.8 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.03035, allocations: 4 kB / 366.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003731/0.03073, allocations: 259.2 kB / 367.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.03105, allocations: 131.8 kB / 367.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.03361, allocations: 4.516 MB / 371.7 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.03397, allocations: 99.44 kB / 371.8 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.03401, allocations: 27.98 kB / 371.9 MB, free: 8.609 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.000474/0.03448, allocations: 312.2 kB / 372.2 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.394e-05/0.03458, allocations: 71.62 kB / 372.2 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007752/0.03535, allocations: 0.5742 MB / 372.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.03536, allocations: 8 kB / 372.8 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.03536, allocations: 0 / 372.8 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.03536, allocations: 3.984 kB / 372.8 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.03716, allocations: 1.589 MB / 374.4 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.03717, allocations: 4 kB / 374.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.03734, allocations: 75.89 kB / 374.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/0.03759, allocations: 235 kB / 374.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.03762, allocations: 11.98 kB / 374.7 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.03967, allocations: 3.984 MB / 378.7 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.03967, allocations: 7.984 kB / 378.7 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.04074, allocations: 0.9974 MB / 379.7 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.04095, allocations: 123.4 kB / 379.8 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.04102, allocations: 27.98 kB / 379.9 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.04123, allocations: 39.95 kB / 379.9 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003565/0.04159, allocations: 247.6 kB / 380.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.04162, allocations: 27.97 kB / 380.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003767/0.04199, allocations: 454.8 kB / 380.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04199, allocations: 0 / 380.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007577/0.04275, allocations: 263.4 kB / 380.9 MB, free: 15.15 MB / 314.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.0001954/0.04295, allocations: 133.2 kB / 381 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.04398, allocations: 0.8842 MB / 381.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.04399, allocations: 0 / 381.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004267/0.04441, allocations: 0.5712 MB / 382.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.04493, allocations: 153.5 kB / 382.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.04739, allocations: 1.594 MB / 384.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.04766, allocations: 396.3 kB / 384.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.04779, allocations: 52.48 kB / 384.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of SimCode: time 2.805e-06/0.0478, allocations: 0 / 384.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of Templates: time 0.01473/0.06253, allocations: 18.31 MB / 403 MB, free: 8.93 MB / 330.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.67207605810836]