Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.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.0009671/0.0009671, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009547/0.0009547, allocations: 169 kB / 24.06 MB, free: 456 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.9158/0.9158, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.03392/0.03392, allocations: 8.717 MB / 269.7 MB, free: 4.395 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.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 342.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.413e-05, allocations: 2.312 kB / 342.1 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.002462/0.002477, allocations: 3.347 MB / 345.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003529, allocations: 0.9388 MB / 346.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.00367, allocations: 7.938 kB / 346.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.003815, allocations: 59.44 kB / 346.4 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003294/0.004145, allocations: 206.5 kB / 346.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.004327, allocations: 115.7 kB / 346.8 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.004677, allocations: 0.6645 MB / 347.4 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.004866, allocations: 150.5 kB / 347.6 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.005162, allocations: 347.2 kB / 347.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.005375, allocations: 231.4 kB / 348.1 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.005413, allocations: 40 kB / 348.2 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.005501, allocations: 63.91 kB / 348.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.005559, allocations: 115.6 kB / 348.3 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.894e-05/0.005658, allocations: 187.6 kB / 348.5 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.005936, allocations: 378.7 kB / 348.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005938, allocations: 0 / 348.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005938, allocations: 0 / 348.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.005945, allocations: 4 kB / 348.9 MB, free: 0.9375 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0004997/0.006445, allocations: 0.7453 MB / 349.6 MB, free: 160 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.006472, allocations: 12.03 kB / 349.7 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.006628, allocations: 96.58 kB / 349.8 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.006902, allocations: 279.3 kB / 350 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.006924, allocations: 29.38 kB / 350.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.006961, allocations: 44.31 kB / 350.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.007205, allocations: 243.3 kB / 350.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.007217, allocations: 4 kB / 350.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.007239, allocations: 16 kB / 350.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.007246, allocations: 12 kB / 350.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.007368, allocations: 106.9 kB / 350.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009849/0.008352, allocations: 1.044 MB / 351.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.008486, allocations: 94.98 kB / 351.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.008547, allocations: 47.89 kB / 351.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.008562, allocations: 7.938 kB / 351.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.008579, allocations: 33.39 kB / 351.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.00858, allocations: 0 / 351.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.00019/0.00877, allocations: 133.4 kB / 351.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.008793, allocations: 55.41 kB / 351.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.008957, allocations: 322 kB / 352.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.00897, allocations: 29.7 kB / 352.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.009081, allocations: 302.6 kB / 352.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.009113, allocations: 63.47 kB / 352.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.009173, allocations: 75.27 kB / 352.7 MB, free: 12.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.00929, allocations: 0.5079 MB / 353.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.009337, allocations: 40.58 kB / 353.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.919e-05/0.009426, allocations: 176.2 kB / 353.4 MB, free: 12.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.00957, allocations: 217.8 kB / 353.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.009572, allocations: 0 / 353.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001998/0.009772, allocations: 217.2 kB / 353.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.009784, allocations: 8 kB / 353.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.00979, allocations: 4 kB / 353.8 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.0098, allocations: 8 kB / 353.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.009936, allocations: 71.84 kB / 353.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.009941, allocations: 7.984 kB / 353.9 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.101e-05/0.01002, allocations: 23.84 kB / 353.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.01003, allocations: 8.312 kB / 353.9 MB, free: 11.55 MB / 282.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: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.01015, allocations: 184.4 kB / 354.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.01018, allocations: 35.75 kB / 354.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.01034, allocations: 146.5 kB / 354.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01034, allocations: 4 kB / 354.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.01034, allocations: 0 / 354.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01035, allocations: 3.984 kB / 354.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.01076, allocations: 0.5004 MB / 354.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01076, allocations: 4.031 kB / 354.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.01085, allocations: 39.97 kB / 354.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01085, allocations: 4 kB / 354.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.01086, allocations: 4 kB / 354.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01086, allocations: 4 kB / 354.8 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01086, allocations: 3.938 kB / 354.9 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.01113, allocations: 334.3 kB / 355.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.01118, allocations: 39.73 kB / 355.2 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.0112, allocations: 4 kB / 355.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.01128, allocations: 12.03 kB / 355.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.01131, allocations: 15.91 kB / 355.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.01132, allocations: 7.938 kB / 355.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.335e-05/0.01141, allocations: 210.9 kB / 355.5 MB, free: 9.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01141, allocations: 0 / 355.5 MB, free: 9.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.01166, allocations: 111.7 kB / 355.6 MB, free: 9.805 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.991e-05/0.01175, allocations: 107.2 kB / 355.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.0119, allocations: 115 kB / 355.8 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.0119, allocations: 0 / 355.8 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.01194, allocations: 51.55 kB / 355.8 MB, free: 9.523 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.0122, allocations: 64.92 kB / 355.9 MB, free: 9.453 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.01312, allocations: 0.6914 MB / 356.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.504e-05/0.01318, allocations: 116.2 kB / 356.7 MB, free: 8.578 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.201e-05/0.01327, allocations: 38.95 kB / 356.7 MB, free: 8.539 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.01339, allocations: 134.1 kB / 356.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01339, allocations: 0 / 356.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of Templates: time 0.005104/0.01849, allocations: 3.401 MB / 360.3 MB, free: 5.094 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6284078508615494]