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.0009071/0.0009071, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009358/0.0009358, allocations: 177 kB / 23.5 MB, free: 1.055 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.9221/0.9221, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.03449/0.03449, allocations: 8.72 MB / 269 MB, free: 4.602 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.282e-06/1.282e-06, allocations: 0 / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.41e-05, allocations: 6.25 kB / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.002418/0.002432, allocations: 3.37 MB / 344.2 MB, free: 5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009034/0.003335, allocations: 0.9349 MB / 345.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.003468, allocations: 11.94 kB / 345.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.003625, allocations: 59.42 kB / 345.2 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.00396, allocations: 210.5 kB / 345.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.00414, allocations: 115.7 kB / 345.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.004485, allocations: 0.6606 MB / 346.2 MB, free: 3.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.004683, allocations: 150.5 kB / 346.4 MB, free: 2.855 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.004918, allocations: 351.1 kB / 346.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.005111, allocations: 215.5 kB / 346.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.005148, allocations: 44 kB / 347 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.402e-05/0.005232, allocations: 67.91 kB / 347 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.005288, allocations: 111.6 kB / 347.1 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.005394, allocations: 195.5 kB / 347.3 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.005664, allocations: 370.7 kB / 347.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005667, allocations: 4 kB / 347.7 MB, free: 1.523 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.2e-07/0.005668, allocations: 0 / 347.7 MB, free: 1.523 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.005673, allocations: 0 / 347.7 MB, free: 1.523 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.0005706/0.006244, allocations: 0.7531 MB / 348.4 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.006273, allocations: 8.031 kB / 348.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.006449, allocations: 96.58 kB / 348.5 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.006685, allocations: 287.3 kB / 348.8 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.006701, allocations: 29.38 kB / 348.9 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.006735, allocations: 36.38 kB / 348.9 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.007034, allocations: 275.2 kB / 349.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.007049, allocations: 4 kB / 349.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.007072, allocations: 16 kB / 349.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.007084, allocations: 12 kB / 349.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.007294, allocations: 141.9 kB / 349.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.008409, allocations: 1.032 MB / 350.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.00859, allocations: 107.2 kB / 350.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.338e-05/0.008684, allocations: 52.28 kB / 350.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.008702, allocations: 11.94 kB / 350.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.008723, allocations: 37.39 kB / 350.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.008725, allocations: 0 / 350.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002367/0.008961, allocations: 147.9 kB / 350.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.008988, allocations: 51.41 kB / 350.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.009195, allocations: 330.2 kB / 351.1 MB, free: 13.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.009207, allocations: 25.7 kB / 351.1 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.009322, allocations: 306.7 kB / 351.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.009357, allocations: 63.47 kB / 351.5 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.009417, allocations: 67.3 kB / 351.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.009532, allocations: 0.504 MB / 352 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/0.0096, allocations: 52.59 kB / 352.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.009713, allocations: 176.3 kB / 352.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.009893, allocations: 233.5 kB / 352.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.009895, allocations: 0 / 352.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002368/0.01013, allocations: 233.3 kB / 352.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.01014, allocations: 4 kB / 352.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.01015, allocations: 4 kB / 352.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01016, allocations: 4 kB / 352.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.01031, allocations: 71.83 kB / 352.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.01032, allocations: 4 kB / 352.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/0.0104, allocations: 27.84 kB / 352.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.01041, allocations: 12 kB / 352.8 MB, free: 12.01 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.0001197/0.01053, allocations: 184.6 kB / 353 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.01057, allocations: 39.75 kB / 353.1 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.01076, allocations: 143.6 kB / 353.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01076, allocations: 4 kB / 353.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01076, allocations: 0 / 353.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01076, allocations: 0 / 353.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.01126, allocations: 0.5739 MB / 353.8 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01126, allocations: 0 / 353.8 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.01137, allocations: 44.09 kB / 353.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01137, allocations: 3.984 kB / 353.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01138, allocations: 11.94 kB / 353.8 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-06/0.01138, allocations: 4 kB / 353.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01138, allocations: 3.938 kB / 353.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.01163, allocations: 345.6 kB / 354.2 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.01167, allocations: 43.72 kB / 354.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.01172, allocations: 8 kB / 354.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.01178, allocations: 4 kB / 354.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.01182, allocations: 27.88 kB / 354.3 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-06/0.01182, allocations: 4 kB / 354.3 MB, free: 10.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.01195, allocations: 223 kB / 354.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01195, allocations: 0 / 354.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002434/0.01219, allocations: 103.7 kB / 354.6 MB, free: 10.16 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 9.858e-05/0.01229, allocations: 107.2 kB / 354.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.01246, allocations: 123.5 kB / 354.8 MB, free: 9.922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01246, allocations: 4.125 kB / 354.8 MB, free: 9.918 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.566e-05/0.01252, allocations: 59.17 kB / 354.9 MB, free: 9.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.01279, allocations: 56.94 kB / 354.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.01387, allocations: 0.6987 MB / 355.6 MB, free: 9.047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.913e-05/0.01394, allocations: 120.3 kB / 355.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.51e-05/0.01403, allocations: 34.95 kB / 355.8 MB, free: 8.875 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.01407, allocations: 28.5 kB / 355.8 MB, free: 8.848 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01407, allocations: 0 / 355.8 MB, free: 8.848 MB / 282.7 MB Notification: Performance of Templates: time 0.004685/0.01876, allocations: 3.07 MB / 358.9 MB, free: 5.852 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.6949632610194385]