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.001369/0.001369, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.001312/0.001312, allocations: 173.7 kB / 23.28 MB, free: 1.223 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 0.9021/0.9021, allocations: 177.1 MB / 203.7 MB, free: 5.531 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.03776/0.03776, allocations: 8.718 MB / 269 MB, free: 4.402 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.433e-06/1.433e-06, allocations: 0 / 341.3 MB, free: 8.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.395e-05, allocations: 5.266 kB / 341.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.002928/0.002942, allocations: 3.352 MB / 344.6 MB, free: 5.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.004035, allocations: 0.9387 MB / 345.6 MB, free: 4.543 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.004161, allocations: 11.88 kB / 345.6 MB, free: 4.531 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.004314, allocations: 63.42 kB / 345.7 MB, free: 4.469 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.004654, allocations: 206.4 kB / 345.9 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.004838, allocations: 107.8 kB / 346 MB, free: 4.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.005272, allocations: 0.6683 MB / 346.6 MB, free: 3.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.005475, allocations: 146.6 kB / 346.8 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.005775, allocations: 351.2 kB / 347.1 MB, free: 3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.006005, allocations: 227.4 kB / 347.3 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.006047, allocations: 40 kB / 347.4 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.755e-05/0.006145, allocations: 59.94 kB / 347.4 MB, free: 2.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.006214, allocations: 115.6 kB / 347.6 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.006335, allocations: 195.5 kB / 347.7 MB, free: 2.375 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.006649, allocations: 374.7 kB / 348.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006651, allocations: 0 / 348.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006652, allocations: 0 / 348.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006656, allocations: 0 / 348.1 MB, free: 2.008 MB / 314.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.0006324/0.007289, allocations: 0.7491 MB / 348.9 MB, free: 1.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.007324, allocations: 12.03 kB / 348.9 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.007495, allocations: 104.5 kB / 349 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.007736, allocations: 279.3 kB / 349.2 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.007754, allocations: 29.38 kB / 349.3 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.007796, allocations: 44.36 kB / 349.3 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.008033, allocations: 243.3 kB / 349.6 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.008045, allocations: 12 kB / 349.6 MB, free: 488 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.008063, allocations: 12 kB / 349.6 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.00807, allocations: 12 kB / 349.6 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.008189, allocations: 106.9 kB / 349.7 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009932/0.009182, allocations: 1.036 MB / 350.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.009319, allocations: 95.2 kB / 350.8 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.788e-05/0.009386, allocations: 55.64 kB / 350.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.009404, allocations: 11.92 kB / 350.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.009423, allocations: 37.33 kB / 350.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.009424, allocations: 0 / 350.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001803/0.009605, allocations: 135.6 kB / 351.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.009627, allocations: 51.41 kB / 351.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.009799, allocations: 318.1 kB / 351.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.009812, allocations: 29.7 kB / 351.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.009925, allocations: 302.6 kB / 351.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.009962, allocations: 67.45 kB / 351.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.01002, allocations: 67.28 kB / 351.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01015, allocations: 0.5118 MB / 352.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.0102, allocations: 40.58 kB / 352.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.01031, allocations: 176.2 kB / 352.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.01046, allocations: 213.4 kB / 352.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01046, allocations: 0 / 352.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002081/0.01067, allocations: 221.2 kB / 353 MB, free: 12.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.01068, allocations: 8 kB / 353 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01069, allocations: 4 kB / 353 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.0107, allocations: 4 kB / 353 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.01084, allocations: 67.89 kB / 353.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01084, allocations: 4 kB / 353.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.697e-05/0.01092, allocations: 23.84 kB / 353.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01093, allocations: 16 kB / 353.1 MB, free: 12.61 MB / 330.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.000121/0.01105, allocations: 184.6 kB / 353.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.01108, allocations: 31.8 kB / 353.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.01124, allocations: 146.1 kB / 353.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01124, allocations: 4 kB / 353.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01125, allocations: 0 / 353.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01125, allocations: 0 / 353.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.01165, allocations: 0.4925 MB / 354 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01166, allocations: 8.125 kB / 354 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.01174, allocations: 43.92 kB / 354 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01175, allocations: 0 / 354 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01176, allocations: 4 kB / 354.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01176, allocations: 3.938 kB / 354.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01176, allocations: 4 kB / 354.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.01197, allocations: 338.2 kB / 354.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.01202, allocations: 43.73 kB / 354.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.01204, allocations: 8 kB / 354.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.0121, allocations: 8.016 kB / 354.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.01213, allocations: 15.98 kB / 354.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.01214, allocations: 7.938 kB / 354.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.348e-05/0.01223, allocations: 210.9 kB / 354.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01223, allocations: 0 / 354.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.01247, allocations: 111.7 kB / 354.8 MB, free: 10.86 MB / 330.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.943e-05/0.01255, allocations: 103.1 kB / 354.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.0127, allocations: 127.2 kB / 355 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0127, allocations: 0 / 355 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.01274, allocations: 47.59 kB / 355.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.01301, allocations: 56.92 kB / 355.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009291/0.01394, allocations: 0.6991 MB / 355.8 MB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.334e-05/0.014, allocations: 116.2 kB / 355.9 MB, free: 9.637 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.495e-05/0.01408, allocations: 34.95 kB / 356 MB, free: 9.605 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.0142, allocations: 138.1 kB / 356.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of SimCode: time 5.72e-07/0.0142, allocations: 0 / 356.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of Templates: time 0.004858/0.01905, allocations: 3.351 MB / 359.4 MB, free: 6.203 MB / 330.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.673786483705044]