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.0009579/0.0009579, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.0009226/0.0009226, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9118/0.9118, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.03474/0.03474, allocations: 8.7 MB / 268.6 MB, free: 4.758 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.393e-06/1.393e-06, allocations: 0 / 395.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.079e-05, allocations: 8.891 kB / 395.4 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.002729/0.00275, allocations: 2.324 MB / 397.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.004652, allocations: 2.18 MB / 399.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.231e-05/0.004744, allocations: 0 / 399.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.005016, allocations: 83.41 kB / 400 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.005289, allocations: 166.9 kB / 400.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.00579, allocations: 446.2 kB / 400.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.006006, allocations: 274.6 kB / 400.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.006103, allocations: 32.56 kB / 400.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.006282, allocations: 151.5 kB / 401.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.006385, allocations: 79.73 kB / 401.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.006405, allocations: 12 kB / 401.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.006626, allocations: 211.7 kB / 401.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.006693, allocations: 51.77 kB / 401.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.006746, allocations: 59.78 kB / 401.5 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.007108, allocations: 402.8 kB / 401.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00711, allocations: 3.938 kB / 401.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007111, allocations: 0 / 401.9 MB, free: 11.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.007115, allocations: 3.984 kB / 401.9 MB, free: 11.07 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.0005168/0.007632, allocations: 0.4887 MB / 402.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.007664, allocations: 12.03 kB / 402.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.007707, allocations: 32.78 kB / 402.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.007906, allocations: 200.8 kB / 402.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.007917, allocations: 12.38 kB / 402.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.007935, allocations: 16.12 kB / 402.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.008146, allocations: 141.6 kB / 402.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.008154, allocations: 0 / 402.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.008167, allocations: 12 kB / 402.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.008171, allocations: 0 / 402.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.008376, allocations: 151.9 kB / 402.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.009252, allocations: 459.9 kB / 403.4 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.009405, allocations: 94.5 kB / 403.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.009483, allocations: 56.97 kB / 403.5 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.009522, allocations: 15.97 kB / 403.5 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.00954, allocations: 30.56 kB / 403.6 MB, free: 9.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.009541, allocations: 4.125 kB / 403.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008036/0.01034, allocations: 409.1 kB / 404 MB, free: 8.848 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.01037, allocations: 51.41 kB / 404 MB, free: 8.785 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.01056, allocations: 269.9 kB / 404.3 MB, free: 8.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.01057, allocations: 29.89 kB / 404.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.01064, allocations: 156.1 kB / 404.5 MB, free: 8.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.01066, allocations: 43.62 kB / 404.5 MB, free: 8.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.0107, allocations: 33.7 kB / 404.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.01078, allocations: 334.8 kB / 404.9 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.01088, allocations: 63.94 kB / 404.9 MB, free: 7.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01099, allocations: 88.25 kB / 405 MB, free: 7.738 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.01121, allocations: 164.1 kB / 405.2 MB, free: 7.562 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01121, allocations: 0 / 405.2 MB, free: 7.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000272/0.01148, allocations: 213.3 kB / 405.4 MB, free: 7.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.01149, allocations: 4 kB / 405.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.0115, allocations: 0 / 405.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.01151, allocations: 4 kB / 405.4 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.01163, allocations: 39.91 kB / 405.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.01164, allocations: 4 kB / 405.4 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.01171, allocations: 24.05 kB / 405.5 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.01172, allocations: 7.984 kB / 405.5 MB, free: 7.266 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 8.341e-05/0.0118, allocations: 142.3 kB / 405.6 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.01183, allocations: 19.86 kB / 405.6 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.01213, allocations: 197 kB / 405.8 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01213, allocations: 4 kB / 405.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.01213, allocations: 4 kB / 405.8 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01213, allocations: 0 / 405.8 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.01253, allocations: 443.6 kB / 406.3 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01254, allocations: 4 kB / 406.3 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.0126, allocations: 32.03 kB / 406.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01261, allocations: 0 / 406.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.01261, allocations: 0 / 406.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01262, allocations: 4 kB / 406.3 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01262, allocations: 0 / 406.3 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.01286, allocations: 280.9 kB / 406.6 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.0129, allocations: 23.89 kB / 406.6 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.01292, allocations: 4 kB / 406.6 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.01299, allocations: 19.97 kB / 406.6 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.01303, allocations: 11.92 kB / 406.6 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.01304, allocations: 4 kB / 406.6 MB, free: 6.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.01316, allocations: 205.2 kB / 406.8 MB, free: 5.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01316, allocations: 0 / 406.8 MB, free: 5.809 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.01341, allocations: 83.8 kB / 406.9 MB, free: 5.727 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.0008817/0.01429, allocations: 452.1 kB / 407.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.01454, allocations: 135.8 kB / 407.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01454, allocations: 0 / 407.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.544e-05/0.01464, allocations: 55.89 kB / 407.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.0149, allocations: 56.62 kB / 407.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.01536, allocations: 426.3 kB / 408 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.217e-05/0.01544, allocations: 132.8 kB / 408.1 MB, free: 4.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.01549, allocations: 24.5 kB / 408.2 MB, free: 4.562 MB / 330.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01549, allocations: 0 / 408.2 MB, free: 4.562 MB / 330.7 MB Notification: Performance of Templates: time 0.003939/0.01943, allocations: 3.698 MB / 411.9 MB, free: 0.8828 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 > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5696245660074055]