Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001886/0.001886, allocations: 123.4 kB / 17.79 MB, free: 5.359 MB / 14.72 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.002074/0.002074, allocations: 204.3 kB / 20.74 MB, free: 2.414 MB / 14.72 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.521/1.521, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2631/0.2631, allocations: 46.91 MB / 357.1 MB, free: 10.33 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+maint.om/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(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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 75.89 kB / 0.4914 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1496, allocations: 65.99 MB / 0.5559 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02501/0.1747, allocations: 20.49 MB / 0.5759 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007259/0.1819, allocations: 4.306 MB / 0.5801 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007967/0.1827, allocations: 27.75 kB / 0.5801 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.1838, allocations: 314 kB / 0.5804 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.1866, allocations: 0.8667 MB / 0.5812 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.1894, allocations: 0.8989 MB / 0.5821 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.1922, allocations: 1.797 MB / 0.5839 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007514/0.1929, allocations: 413.4 kB / 0.5843 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.1951, allocations: 0.9457 MB / 0.5852 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.1963, allocations: 0.6812 MB / 0.5859 GB, free: 6.527 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.1965, allocations: 60 kB / 0.5859 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009817/0.1975, allocations: 315.6 kB / 0.5862 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000342/0.1978, allocations: 267.1 kB / 0.5865 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.1983, allocations: 394.2 kB / 0.5869 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.2002, allocations: 1.082 MB / 0.5879 GB, free: 4.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2002, allocations: 0 / 0.5879 GB, free: 4.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2002, allocations: 0 / 0.5879 GB, free: 4.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.2002, allocations: 0 / 0.5879 GB, free: 4.426 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.002603/0.2028, allocations: 1.07 MB / 0.589 GB, free: 3.305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2028, allocations: 8.031 kB / 0.589 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/0.2032, allocations: 100.4 kB / 0.5891 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/0.2042, allocations: 0.5292 MB / 0.5896 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.2043, allocations: 104.9 kB / 0.5897 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2044, allocations: 56.31 kB / 0.5897 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.2059, allocations: 0.8174 MB / 0.5905 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2059, allocations: 4 kB / 0.5905 GB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.206, allocations: 23.98 kB / 0.5906 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-05/0.2061, allocations: 40.92 kB / 0.5906 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.2073, allocations: 0.6478 MB / 0.5912 GB, free: 0.8516 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.311/0.5183, allocations: 4.192 MB / 0.5953 GB, free: 34.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.5194, allocations: 399.1 kB / 0.5957 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.5198, allocations: 193.3 kB / 0.5959 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/0.5203, allocations: 0.5 MB / 0.5964 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.5203, allocations: 47.78 kB / 0.5964 GB, free: 34.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.856e-06/0.5203, allocations: 0 / 0.5964 GB, free: 34.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003772/0.5241, allocations: 1.535 MB / 0.5979 GB, free: 33.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.5241, allocations: 135.3 kB / 0.598 GB, free: 33.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/0.5249, allocations: 0.5744 MB / 0.5986 GB, free: 33.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.525, allocations: 36.67 kB / 0.5986 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.5252, allocations: 362.7 kB / 0.599 GB, free: 33.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.5254, allocations: 169.3 kB / 0.5991 GB, free: 33.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.5256, allocations: 138.4 kB / 0.5993 GB, free: 33.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5257, allocations: 374.5 kB / 0.5996 GB, free: 32.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.5262, allocations: 229.4 kB / 0.5999 GB, free: 32.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.5268, allocations: 0.5178 MB / 0.6004 GB, free: 32.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.5279, allocations: 0.7812 MB / 0.6011 GB, free: 31.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.5279, allocations: 2.25 kB / 0.6011 GB, free: 31.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002096/0.53, allocations: 0.9343 MB / 0.602 GB, free: 31.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.53, allocations: 9.344 kB / 0.602 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.53, allocations: 11.47 kB / 0.6021 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.5313, allocations: 261.8 kB / 0.6023 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.5318, allocations: 131.2 kB / 0.6024 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.5329, allocations: 0.8678 MB / 0.6033 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006141/0.5335, allocations: 26.69 kB / 0.6033 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.761e-05/0.5336, allocations: 34.19 kB / 0.6033 GB, free: 30.5 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.0004403/0.534, allocations: 252.1 kB / 0.6036 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.5342, allocations: 71.97 kB / 0.6036 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.5359, allocations: 0.7061 MB / 0.6043 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.5359, allocations: 9.484 kB / 0.6043 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5359, allocations: 2.984 kB / 0.6044 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.5359, allocations: 5.906 kB / 0.6044 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.5386, allocations: 1.404 MB / 0.6057 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.5386, allocations: 5.453 kB / 0.6057 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.5397, allocations: 190.6 kB / 0.6059 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/0.54, allocations: 56.14 kB / 0.606 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.54, allocations: 19.08 kB / 0.606 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.5422, allocations: 2.991 MB / 0.6089 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5423, allocations: 6.312 kB / 0.6089 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.544, allocations: 0.9971 MB / 0.6099 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.5444, allocations: 202.1 kB / 0.6101 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.5444, allocations: 14.09 kB / 0.6101 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.5448, allocations: 17.58 kB / 0.6101 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5449, allocations: 39.98 kB / 0.6101 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.545, allocations: 19.91 kB / 0.6102 GB, free: 25.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007153/0.5457, allocations: 419.1 kB / 0.6106 GB, free: 25.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5457, allocations: 2.188 kB / 0.6106 GB, free: 25.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001257/0.5469, allocations: 209.5 kB / 0.6108 GB, free: 25.27 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.0005011/0.5474, allocations: 222 kB / 0.611 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.5488, allocations: 0.5844 MB / 0.6116 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5488, allocations: 1.219 kB / 0.6116 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.5501, allocations: 472.9 kB / 0.612 GB, free: 24.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.5519, allocations: 373.7 kB / 0.6124 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.5545, allocations: 1.423 MB / 0.6137 GB, free: 23.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.555, allocations: 0.9375 MB / 0.6147 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000779/0.5558, allocations: 213.2 kB / 0.6149 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.556, allocations: 61.56 kB / 0.6149 GB, free: 23.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.556, allocations: 0 / 0.6149 GB, free: 23.09 MB / 446.1 MB Notification: Performance of Templates: time 0.02835/0.5843, allocations: 15.42 MB / 0.63 GB, free: 15.76 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.0340484119951725]