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.001798/0.001798, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001979/0.001979, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.563/1.563, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] 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.06194/0.06194, allocations: 8.697 MB / 267.9 MB, free: 4.754 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 5.11e-06/5.11e-06, allocations: 4 kB / 395.4 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/3.273e-05, allocations: 9.031 kB / 395.4 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.004629/0.004662, allocations: 2.324 MB / 397.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.008483, allocations: 2.177 MB / 399.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.008604, allocations: 4 kB / 400 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.00896, allocations: 83.45 kB / 400 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.009423, allocations: 163 kB / 400.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.01048, allocations: 457.7 kB / 400.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.01087, allocations: 266.7 kB / 400.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.011, allocations: 32.56 kB / 400.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.01129, allocations: 139.6 kB / 401.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.01146, allocations: 79.73 kB / 401.1 MB, free: 11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.0115, allocations: 16 kB / 401.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004207/0.01192, allocations: 203.8 kB / 401.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.01201, allocations: 51.77 kB / 401.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.01211, allocations: 67.77 kB / 401.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006681/0.01278, allocations: 410.7 kB / 401.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.01278, allocations: 0 / 401.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01278, allocations: 0 / 401.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.0128, allocations: 7.984 kB / 401.9 MB, free: 10.25 MB / 330.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.0008922/0.01369, allocations: 492.5 kB / 402.4 MB, free: 9.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.01373, allocations: 8.031 kB / 402.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.01381, allocations: 28.78 kB / 402.4 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.01415, allocations: 212.7 kB / 402.6 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.01417, allocations: 12.38 kB / 402.6 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.01419, allocations: 16.12 kB / 402.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.01457, allocations: 149.6 kB / 402.8 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.01458, allocations: 0 / 402.8 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.01459, allocations: 7.938 kB / 402.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.0146, allocations: 4 kB / 402.8 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.01502, allocations: 147.9 kB / 402.9 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.01624, allocations: 463.9 kB / 403.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.01653, allocations: 98.5 kB / 403.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.01669, allocations: 52.91 kB / 403.5 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.479e-05/0.01675, allocations: 7.984 kB / 403.5 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.01679, allocations: 34.56 kB / 403.6 MB, free: 8.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.01679, allocations: 0 / 403.6 MB, free: 8.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001635/0.01843, allocations: 405 kB / 404 MB, free: 8.039 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.01848, allocations: 55.41 kB / 404 MB, free: 7.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.01885, allocations: 273.8 kB / 404.3 MB, free: 7.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.01887, allocations: 25.7 kB / 404.3 MB, free: 7.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.01901, allocations: 152.2 kB / 404.5 MB, free: 7.512 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.01906, allocations: 51.55 kB / 404.5 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.01914, allocations: 33.7 kB / 404.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.01933, allocations: 334.7 kB / 404.9 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.01956, allocations: 67.94 kB / 404.9 MB, free: 7.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.01983, allocations: 92.25 kB / 405 MB, free: 6.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.0203, allocations: 160.1 kB / 405.2 MB, free: 6.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.0203, allocations: 0 / 405.2 MB, free: 6.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005962/0.0209, allocations: 205.3 kB / 405.4 MB, free: 6.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.02092, allocations: 8 kB / 405.4 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.02092, allocations: 0 / 405.4 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.02094, allocations: 4 kB / 405.4 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.02119, allocations: 44.09 kB / 405.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.0212, allocations: 0 / 405.5 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.02135, allocations: 23.86 kB / 405.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.02137, allocations: 7.984 kB / 405.5 MB, free: 6.449 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 0.0001675/0.02154, allocations: 138.3 kB / 405.6 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.02159, allocations: 23.86 kB / 405.6 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006125/0.02221, allocations: 205.5 kB / 405.8 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.02221, allocations: 7.984 kB / 405.8 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.02221, allocations: 0 / 405.8 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.02222, allocations: 0 / 405.8 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000856/0.02307, allocations: 443.6 kB / 406.3 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.02307, allocations: 0 / 406.3 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.02323, allocations: 31.91 kB / 406.3 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.02324, allocations: 0 / 406.3 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.02325, allocations: 4 kB / 406.3 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.02325, allocations: 0 / 406.3 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02325, allocations: 0 / 406.3 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.02381, allocations: 277 kB / 406.6 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.667e-05/0.02389, allocations: 23.89 kB / 406.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.02392, allocations: 8 kB / 406.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.02409, allocations: 15.97 kB / 406.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.02414, allocations: 11.92 kB / 406.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.02415, allocations: 0 / 406.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002494/0.02439, allocations: 205.2 kB / 406.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02439, allocations: 4 kB / 406.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004105/0.02481, allocations: 91.73 kB / 406.9 MB, free: 4.902 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.002659/0.02746, allocations: 446.8 kB / 407.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.028, allocations: 135.8 kB / 407.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.028, allocations: 0 / 407.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.02822, allocations: 60.27 kB / 407.6 MB, free: 4.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.02869, allocations: 59.78 kB / 407.6 MB, free: 4.367 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.0295, allocations: 384.7 kB / 408 MB, free: 3.961 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.02967, allocations: 136.8 kB / 408.1 MB, free: 3.805 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.0298, allocations: 33.61 kB / 408.2 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.02986, allocations: 20.5 kB / 408.2 MB, free: 3.754 MB / 330.7 MB Notification: Performance of SimCode: time 3.9e-07/0.02986, allocations: 0 / 408.2 MB, free: 3.754 MB / 330.7 MB Notification: Performance of Templates: time 0.009203/0.03906, allocations: 3.709 MB / 411.9 MB, free: 104 kB / 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: 4.998319615144283]