Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.0008998/0.0008998, allocations: 77.09 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.0008711/0.0008711, 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.9453/0.9453, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.03417/0.03417, allocations: 8.717 MB / 269.8 MB, free: 4.379 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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 342.1 MB, free: 8.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.224e-05, allocations: 4.422 kB / 342.1 MB, free: 8.84 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002587/0.002599, allocations: 2.456 MB / 344.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.00486, allocations: 2.289 MB / 346.8 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.696e-05/0.004957, allocations: 3.938 kB / 346.8 MB, free: 4.062 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.005226, allocations: 83.41 kB / 346.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.0055, allocations: 166.9 kB / 347.1 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.006061, allocations: 454 kB / 347.5 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.006297, allocations: 270.7 kB / 347.8 MB, free: 3.105 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.825e-05/0.006385, allocations: 28.53 kB / 347.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.006556, allocations: 143.6 kB / 347.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.006676, allocations: 87.7 kB / 348 MB, free: 2.852 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.006695, allocations: 12 kB / 348 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.006932, allocations: 211.7 kB / 348.3 MB, free: 2.633 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.006992, allocations: 47.78 kB / 348.3 MB, free: 2.586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.007044, allocations: 63.78 kB / 348.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.00739, allocations: 354.8 kB / 348.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.007392, allocations: 0 / 348.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007393, allocations: 0 / 348.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.007396, allocations: 0 / 348.7 MB, free: 2.176 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004977/0.007894, allocations: 0.5886 MB / 349.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.007924, allocations: 8.031 kB / 349.3 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.007972, allocations: 36.8 kB / 349.3 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.008152, allocations: 203.6 kB / 349.5 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.008165, allocations: 12.38 kB / 349.5 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.008182, allocations: 16.12 kB / 349.6 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.008346, allocations: 114.3 kB / 349.7 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.008353, allocations: 3.938 kB / 349.7 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.008365, allocations: 8 kB / 349.7 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.00837, allocations: 4 kB / 349.7 MB, free: 1.117 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/0.008457, allocations: 59.89 kB / 349.8 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.009182, allocations: 447.8 kB / 350.2 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.009282, allocations: 74.97 kB / 350.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.009313, allocations: 19.78 kB / 350.3 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.009345, allocations: 11.98 kB / 350.3 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.009362, allocations: 41.39 kB / 350.3 MB, free: 432 kB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.009363, allocations: 0 / 350.3 MB, free: 432 kB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004419/0.009805, allocations: 197.4 kB / 350.5 MB, free: 228 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.009829, allocations: 55.39 kB / 350.6 MB, free: 160 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.009987, allocations: 288.2 kB / 350.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.009998, allocations: 25.7 kB / 350.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.01008, allocations: 210.8 kB / 351.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.0101, allocations: 39.69 kB / 351.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.01015, allocations: 43.36 kB / 351.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.01026, allocations: 0.504 MB / 351.7 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.01029, allocations: 15.98 kB / 351.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.01034, allocations: 66.41 kB / 351.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-05/0.01043, allocations: 94.34 kB / 351.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01043, allocations: 3.938 kB / 351.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001409/0.01057, allocations: 125.4 kB / 352 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.01058, allocations: 8 kB / 352 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.01059, allocations: 0 / 352 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.0106, allocations: 4 kB / 352 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.01071, allocations: 31.97 kB / 352 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.01071, allocations: 7.938 kB / 352 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.1e-05/0.01076, allocations: 4 kB / 352 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01077, allocations: 11.98 kB / 352 MB, free: 14.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (leakage.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 7.446e-05/0.01085, allocations: 176.6 kB / 352.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.01088, allocations: 23.86 kB / 352.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.01104, allocations: 134.6 kB / 352.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01104, allocations: 0 / 352.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01104, allocations: 0 / 352.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01104, allocations: 3.984 kB / 352.4 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.0113, allocations: 385.2 kB / 352.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.0113, allocations: 4.062 kB / 352.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.01136, allocations: 27.92 kB / 352.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01137, allocations: 4 kB / 352.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.01137, allocations: 0 / 352.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01137, allocations: 0 / 352.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01138, allocations: 4.078 kB / 352.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.01152, allocations: 263 kB / 353 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.01156, allocations: 27.88 kB / 353.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.01158, allocations: 0 / 353.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/0.01164, allocations: 12 kB / 353.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.01167, allocations: 11.98 kB / 353.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.01167, allocations: 0 / 353.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.206e-05/0.01176, allocations: 201.1 kB / 353.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01176, allocations: 0 / 353.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.012, allocations: 87.8 kB / 353.4 MB, free: 13.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0007431/0.01274, allocations: 420.7 kB / 353.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01285, allocations: 62.97 kB / 353.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01285, allocations: 0 / 353.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.01289, allocations: 39.53 kB / 353.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.01314, allocations: 53.02 kB / 353.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.01377, allocations: 390.3 kB / 354.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.01381, allocations: 83.97 kB / 354.4 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.01388, allocations: 29.47 kB / 354.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.01398, allocations: 122.2 kB / 354.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01398, allocations: 0 / 354.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of Templates: time 0.00563/0.01961, allocations: 4.252 MB / 358.8 MB, free: 7.855 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7266424535773695]