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.005751/0.005751, allocations: 110.8 kB / 21.98 MB, free: 5.219 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.001385/0.001385, allocations: 216.5 kB / 25.29 MB, free: 3.215 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.442/1.442, allocations: 230.5 MB / 258.9 MB, free: 8.047 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.2174/0.2174, allocations: 46.93 MB / 362.3 MB, free: 4.223 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.002381/0.002381, allocations: 76.14 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3372, allocations: 66.07 MB / 0.5627 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0249/0.3621, allocations: 20.69 MB / 0.583 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007039/0.3691, allocations: 4.341 MB / 0.5872 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006532/0.3698, allocations: 27.75 kB / 0.5872 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.3708, allocations: 326 kB / 0.5875 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.3729, allocations: 0.8823 MB / 0.5884 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.3753, allocations: 0.9248 MB / 0.5893 GB, free: 9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.3778, allocations: 1.821 MB / 0.5911 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006994/0.3785, allocations: 393.6 kB / 0.5914 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.3806, allocations: 0.9652 MB / 0.5924 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.3817, allocations: 0.6812 MB / 0.5931 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.3819, allocations: 60 kB / 0.5931 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008671/0.3827, allocations: 315.6 kB / 0.5934 GB, free: 4.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.383, allocations: 275.2 kB / 0.5937 GB, free: 4.496 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.3835, allocations: 398.1 kB / 0.5941 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.385, allocations: 1.082 MB / 0.5951 GB, free: 3.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.385, allocations: 0 / 0.5951 GB, free: 3.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.385, allocations: 0 / 0.5951 GB, free: 3.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.385, allocations: 3.938 kB / 0.5951 GB, free: 3.02 MB / 430.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.002315/0.3874, allocations: 0.9912 MB / 0.5961 GB, free: 1.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3874, allocations: 8.031 kB / 0.5961 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.3878, allocations: 100.4 kB / 0.5962 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000927/0.3887, allocations: 474.7 kB / 0.5966 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.3888, allocations: 101 kB / 0.5967 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3889, allocations: 56.31 kB / 0.5968 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.3903, allocations: 0.8246 MB / 0.5976 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3903, allocations: 0 / 0.5976 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.3904, allocations: 20 kB / 0.5976 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-05/0.3904, allocations: 40.92 kB / 0.5977 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3916, allocations: 0.6478 MB / 0.5983 GB, free: 15.63 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.005448/0.397, allocations: 4.17 MB / 0.6024 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009344/0.398, allocations: 396 kB / 0.6027 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.3983, allocations: 193.4 kB / 0.6029 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/0.3986, allocations: 60.28 kB / 0.603 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.3987, allocations: 38.89 kB / 0.603 GB, free: 10.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.595e-06/0.3987, allocations: 0 / 0.603 GB, free: 10.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003404/0.4021, allocations: 1.456 MB / 0.6044 GB, free: 8.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.4022, allocations: 136.5 kB / 0.6046 GB, free: 8.832 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/0.4029, allocations: 0.5693 MB / 0.6051 GB, free: 8.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.403, allocations: 45.64 kB / 0.6052 GB, free: 8.199 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.4033, allocations: 359.9 kB / 0.6055 GB, free: 7.844 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.4034, allocations: 174.6 kB / 0.6057 GB, free: 7.672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.4037, allocations: 130.6 kB / 0.6058 GB, free: 7.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.4039, allocations: 378.7 kB / 0.6062 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.4043, allocations: 221.9 kB / 0.6064 GB, free: 6.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008152/0.4051, allocations: 0.5248 MB / 0.6069 GB, free: 6.277 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.4064, allocations: 0.7757 MB / 0.6076 GB, free: 5.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4064, allocations: 4 kB / 0.6076 GB, free: 5.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001923/0.4083, allocations: 0.9412 MB / 0.6086 GB, free: 4.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.4083, allocations: 10.34 kB / 0.6086 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.4083, allocations: 8 kB / 0.6086 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.4095, allocations: 265.2 kB / 0.6088 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.4099, allocations: 127.8 kB / 0.609 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.4112, allocations: 0.875 MB / 0.6098 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.4117, allocations: 24 kB / 0.6098 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.4117, allocations: 35.98 kB / 0.6099 GB, free: 3.062 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.0003665/0.4121, allocations: 249.9 kB / 0.6101 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4122, allocations: 71.52 kB / 0.6102 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.4137, allocations: 0.7131 MB / 0.6109 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.4137, allocations: 7.984 kB / 0.6109 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4137, allocations: 4 kB / 0.6109 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.4138, allocations: 7.984 kB / 0.6109 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.4161, allocations: 1.36 MB / 0.6122 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.4161, allocations: 7.938 kB / 0.6122 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009817/0.4171, allocations: 191.7 kB / 0.6124 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.4173, allocations: 60.97 kB / 0.6125 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.4174, allocations: 15.98 kB / 0.6125 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.4202, allocations: 2.777 MB / 0.6152 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.4202, allocations: 4.031 kB / 0.6152 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4219, allocations: 1.005 MB / 0.6162 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.4222, allocations: 131.4 kB / 0.6163 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/0.4223, allocations: 15.98 kB / 0.6163 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.4227, allocations: 24 kB / 0.6163 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4228, allocations: 39.81 kB / 0.6164 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.4228, allocations: 23.98 kB / 0.6164 GB, free: 12.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005836/0.4234, allocations: 419 kB / 0.6168 GB, free: 11.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4234, allocations: 0 / 0.6168 GB, free: 11.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008135/0.4242, allocations: 207.9 kB / 0.617 GB, free: 11.39 MB / 462.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.0004303/0.4246, allocations: 218.9 kB / 0.6172 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.4259, allocations: 0.5929 MB / 0.6178 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4259, allocations: 0 / 0.6178 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.4271, allocations: 454.6 kB / 0.6182 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.4287, allocations: 381.4 kB / 0.6186 GB, free: 9.754 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.4312, allocations: 1.468 MB / 0.62 GB, free: 8.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.4319, allocations: 0.9345 MB / 0.6209 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.4321, allocations: 67.42 kB / 0.621 GB, free: 7.203 MB / 462.1 MB Notification: Performance of SimCode: time 1.123e-06/0.4321, allocations: 0 / 0.621 GB, free: 7.203 MB / 462.1 MB Notification: Performance of Templates: time 0.02363/0.4557, allocations: 15.66 MB / 0.6363 GB, free: 7.625 MB / 478.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 9.911688044900075]