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.001351/0.001351, allocations: 93.06 kB / 19.65 MB, free: 280 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.001752/0.001752, allocations: 165 kB / 23.02 MB, free: 1.555 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.006/1.006, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.03701/0.03701, allocations: 8.711 MB / 268.7 MB, free: 4.543 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.783e-06/1.783e-06, allocations: 0 / 340.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.817e-05, allocations: 7.922 kB / 340.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTest): time 0.005886/0.005914, allocations: 5.143 MB / 346 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003252/0.009166, allocations: 1.563 MB / 347.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.009712, allocations: 15.94 kB / 347.6 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.01009, allocations: 134.7 kB / 347.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.01128, allocations: 420.8 kB / 348.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007025/0.01198, allocations: 339.5 kB / 348.5 MB, free: 424 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001732/0.01372, allocations: 1.619 MB / 350.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006297/0.01435, allocations: 328.1 kB / 350.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.01567, allocations: 0.8693 MB / 351.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/0.01658, allocations: 0.565 MB / 351.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002593/0.01684, allocations: 132 kB / 352 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.01715, allocations: 148 kB / 352.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.01741, allocations: 315 kB / 352.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006116/0.01803, allocations: 459 kB / 352.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.01925, allocations: 0.9268 MB / 353.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.01926, allocations: 0 / 353.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01926, allocations: 4 kB / 353.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.01929, allocations: 4 kB / 353.8 MB, free: 11.04 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.002257/0.02154, allocations: 1.31 MB / 355.1 MB, free: 9.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.02159, allocations: 8.031 kB / 355.1 MB, free: 9.684 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004219/0.02201, allocations: 188.2 kB / 355.3 MB, free: 9.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009382/0.02295, allocations: 0.548 MB / 355.8 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/0.02302, allocations: 69.94 kB / 355.9 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.02317, allocations: 88 kB / 356 MB, free: 8.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.02472, allocations: 0.7482 MB / 356.7 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.02475, allocations: 7.953 kB / 356.8 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.02484, allocations: 32 kB / 356.8 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.02486, allocations: 24 kB / 356.8 MB, free: 7.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.02603, allocations: 407.6 kB / 357.2 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005192/0.03122, allocations: 2.866 MB / 360.1 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.03194, allocations: 298.7 kB / 360.4 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.03227, allocations: 137.1 kB / 360.5 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.03232, allocations: 8.375 kB / 360.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.03234, allocations: 41.77 kB / 360.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=45): time 2.345e-06/0.03235, allocations: 0 / 360.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.001263/0.03361, allocations: 0.5627 MB / 361.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.03364, allocations: 59.16 kB / 361.2 MB, free: 3.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/0.03406, allocations: 0.5375 MB / 361.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.0341, allocations: 37.7 kB / 361.7 MB, free: 2.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.03436, allocations: 495.2 kB / 362.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.03446, allocations: 166.7 kB / 362.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.03461, allocations: 131.9 kB / 362.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.03476, allocations: 0.5352 MB / 363.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.03503, allocations: 162.2 kB / 363.2 MB, free: 1.309 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.03534, allocations: 332.6 kB / 363.5 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.03577, allocations: 405.5 kB / 363.9 MB, free: 432 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.03578, allocations: 4 kB / 363.9 MB, free: 428 kB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007395/0.03652, allocations: 0.5514 MB / 364.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.03654, allocations: 22.67 kB / 364.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.03654, allocations: 4 kB / 364.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.03685, allocations: 191.2 kB / 364.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.03715, allocations: 123.8 kB / 364.8 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.03932, allocations: 4.133 MB / 369 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.03962, allocations: 107.4 kB / 369.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.03965, allocations: 24 kB / 369.1 MB, free: 11.02 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.0002275/0.03988, allocations: 212.5 kB / 369.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.03997, allocations: 71.62 kB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.04058, allocations: 424.1 kB / 369.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.04058, allocations: 7.938 kB / 369.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.04058, allocations: 0 / 369.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.04059, allocations: 3.984 kB / 369.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.04204, allocations: 1.171 MB / 371 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.04204, allocations: 0 / 371 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.04222, allocations: 71.91 kB / 371 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002039/0.04242, allocations: 187.4 kB / 371.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.04245, allocations: 23.97 kB / 371.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.04429, allocations: 3.71 MB / 374.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.04429, allocations: 7.938 kB / 375 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/0.04507, allocations: 0.6693 MB / 375.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.04524, allocations: 131.5 kB / 375.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.0453, allocations: 28 kB / 375.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.04552, allocations: 43.94 kB / 375.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/0.04581, allocations: 195.5 kB / 376 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.04583, allocations: 19.98 kB / 376 MB, free: 3.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002679/0.0461, allocations: 358.8 kB / 376.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0461, allocations: 0 / 376.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005627/0.04666, allocations: 267.3 kB / 376.6 MB, free: 3.02 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.000152/0.04681, allocations: 133.1 kB / 376.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009118/0.04773, allocations: 0.6782 MB / 377.4 MB, free: 2.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.04773, allocations: 4.062 kB / 377.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.04809, allocations: 487.5 kB / 377.9 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.0004661/0.04855, allocations: 161.9 kB / 378.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.05086, allocations: 1.494 MB / 379.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.05099, allocations: 186.1 kB / 379.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.0512, allocations: 77.03 kB / 379.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.05132, allocations: 52.48 kB / 379.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.05132, allocations: 0 / 379.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of Templates: time 0.01301/0.06433, allocations: 11.08 MB / 391 MB, free: 4.621 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: 3.066112249158323]