Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001741/0.001741, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2278/0.2278, allocations: 46.88 MB / 358.1 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 87.8 kB / 0.4924 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1253, allocations: 65.97 MB / 0.5568 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02549/0.1508, allocations: 20.49 MB / 0.5768 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007269/0.1581, allocations: 4.313 MB / 0.581 GB, free: 13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007624/0.1588, allocations: 19.88 kB / 0.581 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.16, allocations: 325.9 kB / 0.5814 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.1624, allocations: 0.8667 MB / 0.5822 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.1651, allocations: 0.8957 MB / 0.5831 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002853/0.1679, allocations: 1.817 MB / 0.5849 GB, free: 9.078 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009033/0.1688, allocations: 407.2 kB / 0.5852 GB, free: 8.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.1711, allocations: 0.9417 MB / 0.5862 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.1724, allocations: 0.6811 MB / 0.5868 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.1726, allocations: 60 kB / 0.5869 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.1736, allocations: 311.6 kB / 0.5872 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.174, allocations: 263.2 kB / 0.5874 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.1746, allocations: 394.2 kB / 0.5878 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.1764, allocations: 1.098 MB / 0.5889 GB, free: 4.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1764, allocations: 4 kB / 0.5889 GB, free: 4.938 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1764, allocations: 0 / 0.5889 GB, free: 4.938 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.1764, allocations: 0 / 0.5889 GB, free: 4.938 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002528/0.1789, allocations: 1.067 MB / 0.5899 GB, free: 3.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1789, allocations: 8.031 kB / 0.5899 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.1793, allocations: 96.41 kB / 0.59 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.1803, allocations: 0.5331 MB / 0.5905 GB, free: 3.145 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.1805, allocations: 101 kB / 0.5906 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.1806, allocations: 48.33 kB / 0.5907 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.182, allocations: 0.8276 MB / 0.5915 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.182, allocations: 3.938 kB / 0.5915 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-05/0.1821, allocations: 24 kB / 0.5915 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.709e-05/0.1822, allocations: 40.97 kB / 0.5916 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1833, allocations: 0.64 MB / 0.5922 GB, free: 1.383 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2503/0.4336, allocations: 4.209 MB / 0.5963 GB, free: 35.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/0.4346, allocations: 400.6 kB / 0.5967 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.4349, allocations: 193.1 kB / 0.5969 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/0.4353, allocations: 0.5 MB / 0.5974 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4353, allocations: 38.11 kB / 0.5974 GB, free: 35.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.755e-06/0.4353, allocations: 0 / 0.5974 GB, free: 35.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003346/0.4387, allocations: 1.537 MB / 0.5989 GB, free: 34.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.4387, allocations: 134 kB / 0.599 GB, free: 34.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/0.4396, allocations: 0.5729 MB / 0.5996 GB, free: 34.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.4396, allocations: 37.89 kB / 0.5996 GB, free: 34.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.4398, allocations: 362.6 kB / 0.6 GB, free: 34.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.44, allocations: 171.9 kB / 0.6001 GB, free: 33.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.4402, allocations: 144.2 kB / 0.6003 GB, free: 33.85 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4403, allocations: 378.1 kB / 0.6006 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.4407, allocations: 226.2 kB / 0.6008 GB, free: 33.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005495/0.4413, allocations: 0.521 MB / 0.6013 GB, free: 32.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009834/0.4422, allocations: 0.7773 MB / 0.6021 GB, free: 32.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4423, allocations: 9.328 kB / 0.6021 GB, free: 32.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001875/0.4441, allocations: 0.933 MB / 0.603 GB, free: 32.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.4442, allocations: 8.625 kB / 0.603 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.4442, allocations: 9.531 kB / 0.603 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.4453, allocations: 263.6 kB / 0.6033 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.4458, allocations: 124.2 kB / 0.6034 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008863/0.4467, allocations: 0.8689 MB / 0.6043 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.4472, allocations: 27.45 kB / 0.6043 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.4473, allocations: 34.27 kB / 0.6043 GB, free: 31.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003384/0.4476, allocations: 244.8 kB / 0.6046 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4477, allocations: 69.22 kB / 0.6046 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.4491, allocations: 0.7113 MB / 0.6053 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4492, allocations: 6.219 kB / 0.6053 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.4492, allocations: 0.8125 kB / 0.6053 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4492, allocations: 6.141 kB / 0.6053 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.4514, allocations: 1.41 MB / 0.6067 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.4514, allocations: 5.094 kB / 0.6067 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.4525, allocations: 196 kB / 0.6069 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.4527, allocations: 57.88 kB / 0.6069 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.4527, allocations: 15.33 kB / 0.607 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.4545, allocations: 2.988 MB / 0.6099 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4545, allocations: 2.766 kB / 0.6099 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.4561, allocations: 0.9972 MB / 0.6109 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.4565, allocations: 209.5 kB / 0.6111 GB, free: 26.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.396e-05/0.4566, allocations: 13.86 kB / 0.6111 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.457, allocations: 12.8 kB / 0.6111 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.4571, allocations: 48.48 kB / 0.6111 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.4572, allocations: 21.73 kB / 0.6111 GB, free: 26.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006492/0.4578, allocations: 417.4 kB / 0.6115 GB, free: 26.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4578, allocations: 0 / 0.6115 GB, free: 26.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001033/0.4588, allocations: 209.1 kB / 0.6117 GB, free: 26.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005331/0.4594, allocations: 236.2 kB / 0.612 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.4607, allocations: 0.5863 MB / 0.6125 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4607, allocations: 0.625 kB / 0.6125 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.4618, allocations: 460.9 kB / 0.613 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.4636, allocations: 382 kB / 0.6133 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.4661, allocations: 1.46 MB / 0.6148 GB, free: 24.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.4665, allocations: 0.9371 MB / 0.6157 GB, free: 23.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.4667, allocations: 66.78 kB / 0.6158 GB, free: 23.86 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4667, allocations: 0 / 0.6158 GB, free: 23.86 MB / 446.1 MB Notification: Performance of Templates: time 0.02298/0.4897, allocations: 15.69 MB / 0.6311 GB, free: 16.19 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.558489301009104]