Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.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.0009318/0.0009318, allocations: 92.22 kB / 19.65 MB, free: 276 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.001043/0.001043, allocations: 169 kB / 23.02 MB, free: 1.547 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.053/1.053, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.03574/0.03574, allocations: 8.71 MB / 268.7 MB, free: 4.539 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.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") translateModel(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 340.8 MB, free: 8.074 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.589e-05, allocations: 6.25 kB / 340.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ServoValveMeteringTest): time 0.003118/0.003144, allocations: 3.627 MB / 344.5 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.006183, allocations: 2.769 MB / 347.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003092/0.006493, allocations: 7.938 kB / 347.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.007067, allocations: 450.2 kB / 347.7 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007598/0.007826, allocations: 0.4973 MB / 348.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.008971, allocations: 0.6423 MB / 348.8 MB, free: 48 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009952/0.009966, allocations: 0.9178 MB / 349.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.01023, allocations: 106 kB / 349.9 MB, free: 15.01 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.01098, allocations: 498.7 kB / 350.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.01149, allocations: 438.9 kB / 350.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.01156, allocations: 44 kB / 350.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.01202, allocations: 243.7 kB / 351.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.01221, allocations: 255 kB / 351.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.01242, allocations: 259.1 kB / 351.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008715/0.01329, allocations: 0.8251 MB / 352.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01329, allocations: 0 / 352.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01329, allocations: 4 kB / 352.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.01331, allocations: 0 / 352.4 MB, free: 12.48 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001291/0.0146, allocations: 1.3 MB / 353.7 MB, free: 11.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.01464, allocations: 15.98 kB / 353.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.0148, allocations: 144.2 kB / 353.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.01536, allocations: 0.5343 MB / 354.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.01538, allocations: 29.38 kB / 354.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.01544, allocations: 48.08 kB / 354.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004508/0.01589, allocations: 319 kB / 354.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.01591, allocations: 0 / 354.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.01593, allocations: 16 kB / 354.8 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.01595, allocations: 12 kB / 354.8 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.01626, allocations: 213.8 kB / 355 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.01796, allocations: 1.287 MB / 356.3 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.01842, allocations: 191.6 kB / 356.5 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/0.01852, allocations: 65.56 kB / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.01856, allocations: 7.984 kB / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.01858, allocations: 41.39 kB / 356.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.174e-06/0.01858, allocations: 0 / 356.6 MB, free: 8.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006039/0.01919, allocations: 285.5 kB / 356.9 MB, free: 7.852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.01923, allocations: 55.41 kB / 356.9 MB, free: 7.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.02035, allocations: 0.9412 MB / 357.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.02038, allocations: 37.7 kB / 357.9 MB, free: 6.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.02081, allocations: 0.5185 MB / 358.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.778e-05/0.02088, allocations: 99.16 kB / 358.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.02101, allocations: 79.34 kB / 358.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.02117, allocations: 0.4887 MB / 359.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.02132, allocations: 51.97 kB / 359.1 MB, free: 5.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.02153, allocations: 149.1 kB / 359.3 MB, free: 5.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.0219, allocations: 230.4 kB / 359.5 MB, free: 5.074 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.02191, allocations: 0 / 359.5 MB, free: 5.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006319/0.02254, allocations: 356.7 kB / 359.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.02256, allocations: 8.625 kB / 359.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.02257, allocations: 7.938 kB / 359.9 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.02259, allocations: 4 kB / 359.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/0.02293, allocations: 79.89 kB / 359.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.02294, allocations: 7.984 kB / 360 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.02317, allocations: 39.73 kB / 360 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.0232, allocations: 12 kB / 360 MB, free: 4.562 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (VR100.data.zetaLaminarKnown,VR10.data.zetaLaminarKnown,VR30.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001884/0.02339, allocations: 180.4 kB / 360.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.02354, allocations: 111.3 kB / 360.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.02416, allocations: 305.7 kB / 360.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.02416, allocations: 4 kB / 360.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.02417, allocations: 0 / 360.6 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.02418, allocations: 4 kB / 360.6 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007206/0.0249, allocations: 0.5163 MB / 361.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.0249, allocations: 0 / 361.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.02517, allocations: 67.89 kB / 361.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.02518, allocations: 3.938 kB / 361.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.0252, allocations: 15.98 kB / 361.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.02521, allocations: 4 kB / 361.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.02521, allocations: 0 / 361.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.02578, allocations: 419.5 kB / 361.6 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.02602, allocations: 135.2 kB / 361.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.02609, allocations: 4 kB / 361.7 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.02628, allocations: 15.92 kB / 361.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.02635, allocations: 19.97 kB / 361.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.02637, allocations: 11.98 kB / 361.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007787/0.02715, allocations: 0.5859 MB / 362.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.02715, allocations: 0 / 362.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006849/0.02784, allocations: 199.5 kB / 362.6 MB, free: 1.906 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (32): * Single equations (assignments): 32 * 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.001289/0.02912, allocations: 420 kB / 363 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.02959, allocations: 184 kB / 363.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02959, allocations: 0 / 363.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.02977, allocations: 100 kB / 363.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.03053, allocations: 164.2 kB / 363.4 MB, free: 1.164 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.03307, allocations: 1.279 MB / 364.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.03321, allocations: 193.8 kB / 364.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002202/0.03343, allocations: 108.8 kB / 365 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.03353, allocations: 60.48 kB / 365.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.03353, allocations: 0 / 365.1 MB, free: 15.46 MB / 298.7 MB Notification: Performance of Templates: time 0.0128/0.04634, allocations: 8.641 MB / 373.7 MB, free: 6.949 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ServoValveMeteringTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.322232122067362]