Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.001826/0.001826, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002078/0.002078, allocations: 222.8 kB / 22.25 MB, free: 3.582 MB / 13.93 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.701/1.701, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.07318/0.07318, allocations: 11.33 MB / 323.8 MB, free: 6.785 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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") [Timeout 660] "Notification: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003563/0.003563, allocations: 69.55 kB / 451.2 MB, free: 35.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1106, allocations: 55.96 MB / 0.4953 GB, free: 11.2 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003742/0.1143, allocations: 2.044 MB / 0.4973 GB, free: 9.141 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1155, allocations: 0.5689 MB / 0.4978 GB, free: 8.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-05/0.1156, allocations: 11.88 kB / 0.4979 GB, free: 8.559 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.164e-05/0.1156, allocations: 11.86 kB / 0.4979 GB, free: 8.547 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.116, allocations: 75.47 kB / 0.4979 GB, free: 8.473 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.1161, allocations: 31.95 kB / 0.498 GB, free: 8.441 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.1163, allocations: 147.2 kB / 0.4981 GB, free: 8.297 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1164, allocations: 25.28 kB / 0.4981 GB, free: 8.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1166, allocations: 63.78 kB / 0.4982 GB, free: 8.207 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1167, allocations: 51.77 kB / 0.4982 GB, free: 8.156 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1168, allocations: 8 kB / 0.4983 GB, free: 8.148 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.033e-05/0.1168, allocations: 20 kB / 0.4983 GB, free: 8.129 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.1169, allocations: 19.86 kB / 0.4983 GB, free: 8.109 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.1169, allocations: 51.8 kB / 0.4983 GB, free: 8.059 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1172, allocations: 119.5 kB / 0.4985 GB, free: 7.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1172, allocations: 4 kB / 0.4985 GB, free: 7.938 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1172, allocations: 0 / 0.4985 GB, free: 7.938 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1172, allocations: 0 / 0.4985 GB, free: 7.938 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006473/0.1178, allocations: 379.4 kB / 0.4988 GB, free: 7.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1179, allocations: 15.97 kB / 0.4988 GB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.1179, allocations: 8.891 kB / 0.4988 GB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1181, allocations: 146.3 kB / 0.499 GB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1181, allocations: 8.375 kB / 0.499 GB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.1182, allocations: 12.12 kB / 0.499 GB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1185, allocations: 127.3 kB / 0.4991 GB, free: 7.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1185, allocations: 4 kB / 0.4991 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1185, allocations: 0 / 0.4991 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1185, allocations: 0 / 0.4991 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.1188, allocations: 113.6 kB / 0.4992 GB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007293/0.1195, allocations: 328.2 kB / 0.4995 GB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.1198, allocations: 116.2 kB / 0.4997 GB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.12, allocations: 70.53 kB / 0.4997 GB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.12, allocations: 7.984 kB / 0.4997 GB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.12, allocations: 30.56 kB / 0.4998 GB, free: 6.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.12, allocations: 0 / 0.4998 GB, free: 6.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001638/0.1217, allocations: 464.1 kB / 0.5002 GB, free: 5.973 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.1217, allocations: 81.11 kB / 0.5003 GB, free: 5.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1219, allocations: 135.9 kB / 0.5004 GB, free: 5.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1219, allocations: 33.69 kB / 0.5004 GB, free: 5.695 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.122, allocations: 100.3 kB / 0.5005 GB, free: 5.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.1221, allocations: 35.69 kB / 0.5006 GB, free: 5.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.1221, allocations: 25.7 kB / 0.5006 GB, free: 5.523 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1223, allocations: 318.8 kB / 0.5009 GB, free: 5.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.1225, allocations: 81.59 kB / 0.501 GB, free: 5.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1227, allocations: 87.38 kB / 0.5011 GB, free: 5.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.1234, allocations: 169 kB / 0.5012 GB, free: 4.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1234, allocations: 0 / 0.5012 GB, free: 4.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005036/0.1239, allocations: 209.8 kB / 0.5014 GB, free: 4.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.124, allocations: 33.7 kB / 0.5015 GB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.124, allocations: 0 / 0.5015 GB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.124, allocations: 7.938 kB / 0.5015 GB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.1242, allocations: 31.91 kB / 0.5015 GB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1242, allocations: 4.078 kB / 0.5015 GB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1243, allocations: 15.92 kB / 0.5015 GB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1243, allocations: 4 kB / 0.5015 GB, free: 4.512 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001429/0.1245, allocations: 151.5 kB / 0.5017 GB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.1245, allocations: 15.95 kB / 0.5017 GB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005726/0.1251, allocations: 241.5 kB / 0.5019 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1251, allocations: 0 / 0.5019 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1251, allocations: 0 / 0.5019 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1251, allocations: 7.922 kB / 0.5019 GB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.1253, allocations: 149.3 kB / 0.5021 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1253, allocations: 0 / 0.5021 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.1255, allocations: 31.97 kB / 0.5021 GB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1255, allocations: 4 kB / 0.5021 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1255, allocations: 0 / 0.5021 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.1255, allocations: 3.938 kB / 0.5021 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1255, allocations: 0 / 0.5021 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.1261, allocations: 314.8 kB / 0.5024 GB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.1261, allocations: 19.94 kB / 0.5024 GB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1262, allocations: 7.938 kB / 0.5024 GB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1263, allocations: 15.92 kB / 0.5024 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.1264, allocations: 11.98 kB / 0.5025 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1264, allocations: 7.938 kB / 0.5025 GB, free: 3.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1265, allocations: 110.3 kB / 0.5026 GB, free: 3.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1265, allocations: 0 / 0.5026 GB, free: 3.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.1268, allocations: 35.94 kB / 0.5026 GB, free: 3.316 MB / 362.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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.0001686/0.1269, allocations: 107.2 kB / 0.5027 GB, free: 3.203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005506/0.1275, allocations: 230.7 kB / 0.5029 GB, free: 2.953 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1275, allocations: 0 / 0.5029 GB, free: 2.953 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.1277, allocations: 153 kB / 0.5031 GB, free: 2.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1281, allocations: 24.06 kB / 0.5031 GB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.1287, allocations: 301 kB / 0.5034 GB, free: 2.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.1288, allocations: 97.03 kB / 0.5035 GB, free: 2.324 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.1289, allocations: 17.11 kB / 0.5035 GB, free: 2.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.129, allocations: 31.34 kB / 0.5035 GB, free: 2.273 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.129, allocations: 0 / 0.5035 GB, free: 2.273 MB / 362.7 MB Notification: Performance of Templates: time 0.005964/0.1349, allocations: 2.117 MB / 0.5056 GB, free: 216 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.147080447990447]