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.0009118/0.0009118, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009392/0.0009392, allocations: 181 kB / 23.36 MB, free: 1.129 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.9328/0.9328, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.03529/0.03529, allocations: 8.724 MB / 269 MB, free: 4.43 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.051e-06/1.051e-06, allocations: 0 / 288.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.947e-06/9.998e-06, allocations: 2.312 kB / 288.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.1051/0.1051, allocations: 2.495 MB / 290.6 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004335/0.1094, allocations: 2.319 MB / 292.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1096, allocations: 6 kB / 292.9 MB, free: 17.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.1101, allocations: 88.47 kB / 293 MB, free: 17.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005116/0.1106, allocations: 156.6 kB / 293.1 MB, free: 17.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1116, allocations: 414.2 kB / 293.6 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.1119, allocations: 274.5 kB / 293.8 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.112, allocations: 35.41 kB / 293.9 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.1123, allocations: 139 kB / 294 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1125, allocations: 84.41 kB / 294.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1125, allocations: 12.69 kB / 294.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.1129, allocations: 231.2 kB / 294.3 MB, free: 17.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.1129, allocations: 55.5 kB / 294.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.511e-05/0.113, allocations: 64.89 kB / 294.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.1134, allocations: 353.9 kB / 294.8 MB, free: 16.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1134, allocations: 2.016 kB / 294.8 MB, free: 16.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1134, allocations: 4.719 kB / 294.8 MB, free: 16.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1135, allocations: 0 / 294.8 MB, free: 16.95 MB / 266.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.000449/0.1139, allocations: 471.7 kB / 295.2 MB, free: 16.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.1139, allocations: 11.28 kB / 295.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.114, allocations: 26.42 kB / 295.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.1142, allocations: 181 kB / 295.5 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1142, allocations: 12.98 kB / 295.5 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1142, allocations: 17.22 kB / 295.5 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1144, allocations: 116.8 kB / 295.6 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1144, allocations: 1.031 kB / 295.6 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1144, allocations: 5.188 kB / 295.6 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1144, allocations: 4.656 kB / 295.6 MB, free: 16.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.1145, allocations: 51.86 kB / 295.7 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.1149, allocations: 332.6 kB / 296 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.625e-05/0.115, allocations: 54.39 kB / 296 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.1151, allocations: 29.92 kB / 296.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.1151, allocations: 10.23 kB / 296.1 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.1151, allocations: 31.72 kB / 296.1 MB, free: 16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.294e-06/0.1151, allocations: 0.6094 kB / 296.1 MB, free: 16 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003143/0.1154, allocations: 140.2 kB / 296.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.1154, allocations: 52.75 kB / 296.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1156, allocations: 241.8 kB / 296.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.1156, allocations: 25.7 kB / 296.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.1157, allocations: 141.9 kB / 296.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1157, allocations: 31.59 kB / 296.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.1157, allocations: 38.64 kB / 296.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.3e-05/0.1158, allocations: 334.2 kB / 297.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.1158, allocations: 11.56 kB / 297.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.1158, allocations: 45.8 kB / 297.1 MB, free: 15.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.1159, allocations: 68.03 kB / 297.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1159, allocations: 0 / 297.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001209/0.116, allocations: 97.5 kB / 297.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1161, allocations: 5.859 kB / 297.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1161, allocations: 1.219 kB / 297.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1161, allocations: 5.219 kB / 297.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1162, allocations: 32.94 kB / 297.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.1162, allocations: 1.406 kB / 297.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.1162, allocations: 14.92 kB / 297.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1162, allocations: 13.64 kB / 297.4 MB, free: 15.06 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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 4.853e-05/0.1163, allocations: 116.6 kB / 297.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1163, allocations: 19.09 kB / 297.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.1165, allocations: 109.5 kB / 297.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1165, allocations: 8.156 kB / 297.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1165, allocations: 0.6562 kB / 297.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1165, allocations: 0 / 297.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1167, allocations: 286.7 kB / 297.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1167, allocations: 0.75 kB / 297.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.1167, allocations: 18.2 kB / 297.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1167, allocations: 5.031 kB / 297.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.1167, allocations: 1.969 kB / 297.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1167, allocations: 1.188 kB / 297.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1167, allocations: 1.156 kB / 297.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.743e-05/0.1168, allocations: 183.1 kB / 298.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.1169, allocations: 17.7 kB / 298.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1169, allocations: 6.781 kB / 298.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.487e-05/0.117, allocations: 8.719 kB / 298.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.117, allocations: 10.61 kB / 298.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.117, allocations: 3 kB / 298.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.622e-05/0.1171, allocations: 86.31 kB / 298.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1171, allocations: 4.156 kB / 298.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.1173, allocations: 88.52 kB / 298.3 MB, free: 14.39 MB / 266.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 (8): * Single equations (assignments): 8 * 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.001011/0.1183, allocations: 0.506 MB / 298.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1184, allocations: 60.69 kB / 298.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.1184, allocations: 2.438 kB / 298.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.1184, allocations: 24.17 kB / 298.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1187, allocations: 66.45 kB / 299 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007769/0.1195, allocations: 389.8 kB / 299.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.495e-05/0.1196, allocations: 78.42 kB / 299.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.604e-05/0.1196, allocations: 27.88 kB / 299.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.1198, allocations: 87.47 kB / 299.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1198, allocations: 5.281 kB / 299.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of Templates: time 0.006674/0.1264, allocations: 4.02 MB / 303.6 MB, free: 12.35 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.645910816732794]