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.0009664/0.0009664, 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.001735/0.001735, 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.93/0.93, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.03443/0.03443, allocations: 8.699 MB / 268.6 MB, free: 4.742 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 2.284e-06/2.284e-06, allocations: 3.984 kB / 395.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/3.017e-05, allocations: 6.219 kB / 395.4 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.003094/0.003124, allocations: 2.674 MB / 398.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.005311, allocations: 2.344 MB / 400.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.00544, allocations: 7.938 kB / 400.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.005758, allocations: 95.27 kB / 400.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.006199, allocations: 242.5 kB / 400.8 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006963/0.006895, allocations: 497.6 kB / 401.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.007202, allocations: 405.8 kB / 401.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.007321, allocations: 40.89 kB / 401.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.007553, allocations: 203.5 kB / 401.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.007704, allocations: 131.5 kB / 402 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.007734, allocations: 20 kB / 402 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.008057, allocations: 283.6 kB / 402.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.008135, allocations: 67.62 kB / 402.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.008214, allocations: 111.7 kB / 402.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006625/0.008877, allocations: 0.5492 MB / 403.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.00888, allocations: 0 / 403.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.008881, allocations: 3.938 kB / 403.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.008886, allocations: 0 / 403.1 MB, free: 9.855 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00062/0.009506, allocations: 0.5745 MB / 403.6 MB, free: 9.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.009542, allocations: 12.03 kB / 403.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.009674, allocations: 44.69 kB / 403.7 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.00995, allocations: 253.7 kB / 403.9 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.009967, allocations: 16.88 kB / 403.9 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.009988, allocations: 20.12 kB / 404 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.01027, allocations: 232 kB / 404.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.01028, allocations: 0 / 404.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.01029, allocations: 12 kB / 404.2 MB, free: 8.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.0103, allocations: 4 kB / 404.2 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.01058, allocations: 241.9 kB / 404.4 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/0.01143, allocations: 0.6308 MB / 405.1 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.01179, allocations: 171.7 kB / 405.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.0119, allocations: 76.83 kB / 405.3 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.32e-05/0.01197, allocations: 23.98 kB / 405.3 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.01199, allocations: 30.56 kB / 405.4 MB, free: 7.418 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.01199, allocations: 3.984 kB / 405.4 MB, free: 7.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.01327/0.02526, allocations: 3.168 MB / 408.5 MB, free: 4.211 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.02529, allocations: 59.41 kB / 408.6 MB, free: 4.141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.02555, allocations: 320.5 kB / 408.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.02559, allocations: 29.7 kB / 408.9 MB, free: 3.789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.02568, allocations: 184.6 kB / 409.1 MB, free: 3.602 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.02575, allocations: 111.1 kB / 409.2 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.02588, allocations: 81.66 kB / 409.3 MB, free: 3.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.02597, allocations: 346.7 kB / 409.7 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.0265, allocations: 315.8 kB / 410 MB, free: 2.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006929/0.0272, allocations: 384.1 kB / 410.3 MB, free: 2.359 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.02833, allocations: 0.652 MB / 411 MB, free: 1.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02833, allocations: 4 kB / 411 MB, free: 1.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001822/0.03015, allocations: 1.01 MB / 412 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.03017, allocations: 8 kB / 412 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.03017, allocations: 0 / 412 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1422/0.1724, allocations: 1.102 MB / 413.1 MB, free: 28.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.1726, allocations: 55.78 kB / 413.2 MB, free: 28.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.1759, allocations: 2.018 MB / 415.2 MB, free: 27.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.1763, allocations: 61.09 kB / 415.2 MB, free: 27.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.1763, allocations: 23.42 kB / 415.3 MB, free: 27.35 MB / 330.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.1765, allocations: 157.1 kB / 415.4 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.1766, allocations: 32.61 kB / 415.5 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.1787, allocations: 1.083 MB / 416.5 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1787, allocations: 3.219 kB / 416.5 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1787, allocations: 1.938 kB / 416.5 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1787, allocations: 5.562 kB / 416.5 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.1821, allocations: 1.875 MB / 418.4 MB, free: 26.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1821, allocations: 1.219 kB / 418.4 MB, free: 26.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.1823, allocations: 57 kB / 418.5 MB, free: 26.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.1836, allocations: 0.9598 MB / 419.4 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.1837, allocations: 21.06 kB / 419.5 MB, free: 25.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.1857, allocations: 1.841 MB / 421.3 MB, free: 24.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1857, allocations: 1.312 kB / 421.3 MB, free: 24.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.1875, allocations: 0.9752 MB / 422.3 MB, free: 24.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.1877, allocations: 94.17 kB / 422.4 MB, free: 24.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.1877, allocations: 10.34 kB / 422.4 MB, free: 24.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.188, allocations: 54.91 kB / 422.4 MB, free: 24.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.1881, allocations: 26.17 kB / 422.5 MB, free: 24.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.1881, allocations: 25.48 kB / 422.5 MB, free: 24.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1883, allocations: 228.2 kB / 422.7 MB, free: 23.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1883, allocations: 0 / 422.7 MB, free: 23.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006179/0.1889, allocations: 239.1 kB / 422.9 MB, free: 23.88 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/0.1903, allocations: 0.5928 MB / 423.5 MB, free: 23.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002738/0.193, allocations: 0.9035 MB / 424.4 MB, free: 23.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.193, allocations: 0 / 424.4 MB, free: 23.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.1941, allocations: 469.8 kB / 424.9 MB, free: 23.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.1945, allocations: 80.55 kB / 425 MB, free: 23.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.1958, allocations: 0.8185 MB / 425.8 MB, free: 22.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.1959, allocations: 178.6 kB / 426 MB, free: 22.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.196, allocations: 36.95 kB / 426 MB, free: 22.78 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.196, allocations: 0 / 426 MB, free: 22.78 MB / 330.7 MB Notification: Performance of Templates: time 0.009744/0.2057, allocations: 11.02 MB / 437 MB, free: 16.96 MB / 330.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 > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.396554058184847]