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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 198.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 207.6 MB / 232.9 MB, free: 10.91 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06206/0.06206, allocations: 12.01 MB / 297.1 MB, free: 10.06 MB / 238.1 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 75.89 kB / 416.5 MB, free: 42.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06443/0.06667, allocations: 51.9 MB / 468.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004831/0.0715, allocations: 3.386 MB / 471.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.07296, allocations: 0.854 MB / 472.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.07308, allocations: 4 kB / 472.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.07327, allocations: 63.36 kB / 472.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.07375, allocations: 198.7 kB / 472.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.07398, allocations: 103.8 kB / 473 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.07469, allocations: 0.6299 MB / 473.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.07498, allocations: 154.1 kB / 473.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002717/0.07526, allocations: 227.2 kB / 474 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.07562, allocations: 259 kB / 474.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-05/0.07568, allocations: 40 kB / 474.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.07581, allocations: 56 kB / 474.3 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.07593, allocations: 111.6 kB / 474.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.07619, allocations: 258.9 kB / 474.7 MB, free: 356 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.0768, allocations: 0.5175 MB / 475.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.0768, allocations: 8 kB / 475.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.07681, allocations: 4 kB / 475.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.07681, allocations: 0 / 475.2 MB, free: 15.82 MB / 350.1 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.001129/0.07794, allocations: 0.7129 MB / 475.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.07797, allocations: 11.89 kB / 475.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.07815, allocations: 56.61 kB / 476 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.07864, allocations: 346.6 kB / 476.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.07867, allocations: 37.06 kB / 476.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.07874, allocations: 40 kB / 476.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006736/0.07942, allocations: 382.4 kB / 476.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.07944, allocations: 3.953 kB / 476.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.07947, allocations: 16 kB / 476.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.07948, allocations: 8 kB / 476.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.08006, allocations: 295.8 kB / 477.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.08236, allocations: 1.72 MB / 478.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.08271, allocations: 142.7 kB / 478.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.08291, allocations: 84.81 kB / 479 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.08293, allocations: 0 / 479 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.08296, allocations: 34.56 kB / 479.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.08296, allocations: 0 / 479.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005049/0.08346, allocations: 223.1 kB / 479.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.08351, allocations: 59.41 kB / 479.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/0.08401, allocations: 429.6 kB / 479.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.08403, allocations: 25.7 kB / 479.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.08422, allocations: 244 kB / 480 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.08428, allocations: 63.47 kB / 480.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.08438, allocations: 61.64 kB / 480.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.08455, allocations: 350.7 kB / 480.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.08472, allocations: 77.66 kB / 480.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.08495, allocations: 173.9 kB / 480.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.08533, allocations: 248.6 kB / 481 MB, free: 9.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.08533, allocations: 3.938 kB / 481 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005286/0.08586, allocations: 300.4 kB / 481.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.08588, allocations: 8 kB / 481.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.08589, allocations: 4 kB / 481.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.0859, allocations: 4 kB / 481.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.0862, allocations: 71.89 kB / 481.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.08621, allocations: 4.438 kB / 481.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.08645, allocations: 47.62 kB / 481.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.08647, allocations: 12 kB / 481.4 MB, free: 9.145 MB / 350.1 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.0002277/0.0867, allocations: 185.6 kB / 481.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.381e-05/0.08677, allocations: 43.72 kB / 481.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.08719, allocations: 202.2 kB / 481.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.08719, allocations: 4 kB / 481.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.0872, allocations: 7.938 kB / 481.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0872, allocations: 0 / 481.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.08823, allocations: 0.7194 MB / 482.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.08824, allocations: 4 kB / 482.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.08846, allocations: 52.03 kB / 482.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.08846, allocations: 0 / 482.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.08848, allocations: 7.938 kB / 482.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.08848, allocations: 0 / 482.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.08848, allocations: 4 kB / 482.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005467/0.08903, allocations: 379.9 kB / 483 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.08919, allocations: 136.8 kB / 483.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.08925, allocations: 15.89 kB / 483.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.08945, allocations: 8 kB / 483.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.08949, allocations: 7.984 kB / 483.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.0895, allocations: 11.98 kB / 483.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003601/0.08986, allocations: 303.2 kB / 483.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08986, allocations: 4 kB / 483.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.09028, allocations: 95.89 kB / 483.6 MB, free: 6.84 MB / 350.1 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 0.0001396/0.09042, allocations: 111.2 kB / 483.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.09079, allocations: 160.4 kB / 483.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.09079, allocations: 192 / 483.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.09093, allocations: 71.84 kB / 483.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.09159, allocations: 137.5 kB / 484 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.09294, allocations: 0.7733 MB / 484.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.09343, allocations: 0.8231 MB / 485.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.09361, allocations: 56.17 kB / 485.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.09368, allocations: 35.42 kB / 485.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09369, allocations: 0 / 485.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of Templates: time 0.01137/0.1051, allocations: 5.883 MB / 491.6 MB, free: 14.79 MB / 366.1 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=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.218904186040163] Failed to read output from testmodel.py, exit status != 0: 0.11211410292889923 0.127586917 0.047702923 Calling exit ...