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.001353/0.001353, allocations: 73.97 kB / 20.66 MB, free: 3.84 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.001528/0.001528, allocations: 173 kB / 24.06 MB, free: 452 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.9398/0.9398, 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.03319/0.03319, 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.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.253e-06/1.253e-06, allocations: 0 / 342.1 MB, free: 8.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.318e-05, allocations: 2.312 kB / 342.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.004326/0.004349, allocations: 5.081 MB / 347.2 MB, free: 3.703 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.006893, allocations: 1.571 MB / 348.7 MB, free: 2.129 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.007313, allocations: 15.94 kB / 348.8 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.007587, allocations: 126.7 kB / 348.9 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007932/0.00838, allocations: 428.8 kB / 349.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.00886, allocations: 327.5 kB / 349.6 MB, free: 1.246 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.01009, allocations: 1.627 MB / 351.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.01051, allocations: 320 kB / 351.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000948/0.01145, allocations: 0.881 MB / 352.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006328/0.01209, allocations: 0.5611 MB / 353 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.01224, allocations: 136 kB / 353.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.01245, allocations: 155.9 kB / 353.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.01261, allocations: 303 kB / 353.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.01299, allocations: 467 kB / 354 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008333/0.01383, allocations: 0.919 MB / 355 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01383, allocations: 0 / 355 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01383, allocations: 0 / 355 MB, free: 11.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.01385, allocations: 0 / 355 MB, free: 11.87 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.001565/0.01541, allocations: 1.317 MB / 356.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.01544, allocations: 8.031 kB / 356.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.0157, allocations: 184.2 kB / 356.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.01627, allocations: 0.5479 MB / 357 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.01631, allocations: 62 kB / 357.1 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.0164, allocations: 91.89 kB / 357.2 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.01712, allocations: 0.6856 MB / 357.9 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.01714, allocations: 7.984 kB / 357.9 MB, free: 8.871 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.0172, allocations: 36 kB / 357.9 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.01721, allocations: 20 kB / 357.9 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.01762, allocations: 321.6 kB / 358.2 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.02048, allocations: 2.738 MB / 361 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.02092, allocations: 268.4 kB / 361.2 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.0211, allocations: 117.1 kB / 361.3 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.02113, allocations: 12.38 kB / 361.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.02116, allocations: 37.77 kB / 361.4 MB, free: 5.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.02116, allocations: 4 kB / 361.4 MB, free: 5.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.0009991/0.02216, allocations: 0.5275 MB / 361.9 MB, free: 4.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.02219, allocations: 67.09 kB / 362 MB, free: 4.594 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.02253, allocations: 0.5177 MB / 362.5 MB, free: 4.059 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.02257, allocations: 45.69 kB / 362.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.02296, allocations: 0.4907 MB / 363 MB, free: 3.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.727e-05/0.02306, allocations: 166.7 kB / 363.2 MB, free: 3.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.0232, allocations: 135.8 kB / 363.3 MB, free: 3.203 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.02334, allocations: 0.5351 MB / 363.9 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.02351, allocations: 138.1 kB / 364 MB, free: 2.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.02375, allocations: 320 kB / 364.3 MB, free: 2.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.0241, allocations: 408.7 kB / 364.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.0241, allocations: 0 / 364.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0005894/0.02469, allocations: 0.5156 MB / 365.2 MB, free: 1.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.02471, allocations: 8.781 kB / 365.2 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.02472, allocations: 4.656 kB / 365.2 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002163/0.02493, allocations: 195.2 kB / 365.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.02519, allocations: 123.8 kB / 365.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.02725, allocations: 4.103 MB / 369.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.02757, allocations: 91.52 kB / 369.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.0276, allocations: 24.05 kB / 369.8 MB, free: 12.32 MB / 346.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: 22 * Number of states: 0 () * Number of discrete variables: 16 (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,variableDisplacementPump.mechanicalPumpLosses.free,variableDisplacementPump1.mechanicalPumpLosses.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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.0003991/0.028, allocations: 208.3 kB / 370 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.02809, allocations: 75.62 kB / 370.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.02859, allocations: 388.1 kB / 370.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.02859, allocations: 7.938 kB / 370.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.02859, allocations: 0 / 370.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.0286, allocations: 3.984 kB / 370.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.02979, allocations: 1.027 MB / 371.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.02979, allocations: 7.938 kB / 371.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.02996, allocations: 71.91 kB / 371.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.03015, allocations: 179.2 kB / 371.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.03018, allocations: 19.97 kB / 371.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.03183, allocations: 3.657 MB / 375.4 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.03183, allocations: 4 kB / 375.4 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009293/0.03276, allocations: 0.6417 MB / 376 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.03293, allocations: 127.5 kB / 376.2 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.03299, allocations: 20 kB / 376.2 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.03321, allocations: 55.91 kB / 376.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.03348, allocations: 191.8 kB / 376.4 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.03351, allocations: 19.97 kB / 376.4 MB, free: 5.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001963/0.0337, allocations: 330.7 kB / 376.8 MB, free: 4.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0337, allocations: 0 / 376.8 MB, free: 4.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008195/0.03452, allocations: 259.4 kB / 377 MB, free: 4.656 MB / 346.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.0001539/0.03468, allocations: 145 kB / 377.2 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006367/0.03531, allocations: 0.6535 MB / 377.8 MB, free: 3.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.03532, allocations: 1.312 kB / 377.8 MB, free: 3.816 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.03563, allocations: 472 kB / 378.3 MB, free: 3.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.03607, allocations: 153.8 kB / 378.4 MB, free: 3.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.03827, allocations: 1.499 MB / 379.9 MB, free: 1.594 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.0384, allocations: 182.2 kB / 380.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.03859, allocations: 77.11 kB / 380.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.03888, allocations: 218.1 kB / 380.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.03888, allocations: 0 / 380.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of Templates: time 0.01553/0.0544, allocations: 12.14 MB / 392.5 MB, free: 5.09 MB / 362.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: 3.06153295468539]