Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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.0009262/0.0009262, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009606/0.0009606, allocations: 181 kB / 23.36 MB, free: 1.133 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.8989/0.8989, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.05341/0.05341, allocations: 8.725 MB / 269 MB, free: 4.426 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.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 3.938 kB / 288 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.713e-05, allocations: 2.312 kB / 288 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.1061/0.1061, allocations: 2.848 MB / 290.9 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.1093, allocations: 2.507 MB / 293.4 MB, free: 17.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.1095, allocations: 3.875 kB / 293.4 MB, free: 17.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.1099, allocations: 98.05 kB / 293.5 MB, free: 17.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005907/0.1105, allocations: 241.8 kB / 293.7 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.1116, allocations: 490.4 kB / 294.2 MB, free: 17.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004414/0.1121, allocations: 405.7 kB / 294.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1122, allocations: 45.19 kB / 294.6 MB, free: 16.83 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.1126, allocations: 211.7 kB / 294.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1128, allocations: 124.7 kB / 295 MB, free: 16.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.1128, allocations: 21.81 kB / 295 MB, free: 16.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.1133, allocations: 277 kB / 295.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.025e-05/0.1134, allocations: 69.69 kB / 295.3 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.1135, allocations: 109.4 kB / 295.4 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008328/0.1144, allocations: 484.2 kB / 295.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1144, allocations: 1.406 kB / 295.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1144, allocations: 0 / 295.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1144, allocations: 0 / 295.9 MB, free: 16.36 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007527/0.1151, allocations: 0.5597 MB / 296.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1152, allocations: 9.969 kB / 296.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.1153, allocations: 47.89 kB / 296.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.1156, allocations: 225.2 kB / 296.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.1156, allocations: 13.92 kB / 296.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1157, allocations: 25.53 kB / 296.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.1159, allocations: 167.6 kB / 297 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1159, allocations: 1.719 kB / 297 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.1159, allocations: 6.188 kB / 297 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.116, allocations: 7.25 kB / 297 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.1161, allocations: 90.98 kB / 297.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008231/0.117, allocations: 476 kB / 297.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.1172, allocations: 100.3 kB / 297.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.1173, allocations: 35.5 kB / 297.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.1174, allocations: 21.22 kB / 297.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.1174, allocations: 33.06 kB / 297.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 2.395e-06/0.1174, allocations: 0.7969 kB / 297.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007162/0.1181, allocations: 275.5 kB / 298 MB, free: 15.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.1181, allocations: 53.53 kB / 298 MB, free: 15.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1183, allocations: 280.5 kB / 298.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1183, allocations: 25.7 kB / 298.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.1184, allocations: 162.8 kB / 298.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1184, allocations: 68.61 kB / 298.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.1185, allocations: 51 kB / 298.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.1186, allocations: 341.4 kB / 298.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.1186, allocations: 25.03 kB / 299 MB, free: 14.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.1187, allocations: 80.47 kB / 299 MB, free: 14.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1188, allocations: 96.22 kB / 299.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1188, allocations: 0.9688 kB / 299.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002496/0.1191, allocations: 147.5 kB / 299.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1191, allocations: 5.344 kB / 299.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1191, allocations: 0 / 299.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.1193, allocations: 61.19 kB / 299.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1194, allocations: 33.92 kB / 299.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002458/0.1196, allocations: 0.5634 MB / 299.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.1197, allocations: 22.17 kB / 300 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1197, allocations: 6.641 kB / 300 MB, free: 13.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.1198, allocations: 128.8 kB / 300.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.1199, allocations: 22.48 kB / 300.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.1202, allocations: 184.3 kB / 300.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1202, allocations: 1.438 kB / 300.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1202, allocations: 1.859 kB / 300.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1202, allocations: 5.953 kB / 300.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.1207, allocations: 401.9 kB / 300.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1207, allocations: 1.219 kB / 300.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-05/0.1208, allocations: 29.45 kB / 300.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/0.121, allocations: 54.81 kB / 300.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.121, allocations: 6.375 kB / 300.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002288/0.1212, allocations: 0.5708 MB / 301.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1212, allocations: 1 kB / 301.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.1214, allocations: 230.8 kB / 301.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.1215, allocations: 45.12 kB / 301.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1215, allocations: 5.5 kB / 301.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.1216, allocations: 7.406 kB / 301.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1217, allocations: 16.69 kB / 301.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1217, allocations: 3.844 kB / 301.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1218, allocations: 109.8 kB / 301.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1218, allocations: 0 / 301.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004676/0.1223, allocations: 138.3 kB / 301.9 MB, free: 12.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/0.1235, allocations: 0.5423 MB / 302.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.1238, allocations: 105.6 kB / 302.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.1238, allocations: 2.688 kB / 302.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1239, allocations: 62.94 kB / 302.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.1243, allocations: 79.03 kB / 302.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1253, allocations: 0.5179 MB / 303.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.258e-05/0.1253, allocations: 93.38 kB / 303.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.1254, allocations: 34.75 kB / 303.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.1256, allocations: 100.9 kB / 303.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1256, allocations: 0 / 303.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Templates: time 0.009111/0.1347, allocations: 6.209 MB / 309.6 MB, free: 7.465 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.80942011019215]