Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.001769/0.001769, allocations: 73.56 kB / 21.24 MB, free: 0.5547 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.002106/0.002106, allocations: 159.6 kB / 24.5 MB, free: 3.715 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.451/1.451, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.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.2136/0.2136, allocations: 34.28 MB / 295.5 MB, free: 14.57 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.LinearWater_pT,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.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.88 kB / 443.2 MB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2856, allocations: 66.01 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03431/0.3199, allocations: 39.82 MB / 0.5361 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004983/0.3249, allocations: 4.066 MB / 0.5401 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.3253, allocations: 27.5 kB / 0.5401 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007277/0.326, allocations: 304.6 kB / 0.5404 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.3275, allocations: 0.8856 MB / 0.5413 GB, free: 156 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.3296, allocations: 0.9015 MB / 0.5422 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.3317, allocations: 1.816 MB / 0.5439 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.3323, allocations: 397.6 kB / 0.5443 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.111/0.4433, allocations: 44.31 MB / 0.5876 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01979/0.4631, allocations: 7.943 MB / 0.5953 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.4634, allocations: 60 kB / 0.5954 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02652/0.4899, allocations: 10.6 MB / 0.6057 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000537/0.4904, allocations: 267.2 kB / 0.606 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000577/0.491, allocations: 330.6 kB / 0.6063 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.4927, allocations: 1.078 MB / 0.6074 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4927, allocations: 0 / 0.6074 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4927, allocations: 0 / 0.6074 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.4927, allocations: 0 / 0.6074 GB, free: 4.238 MB / 0.4981 GB 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.002134/0.4948, allocations: 0.9912 MB / 0.6083 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4949, allocations: 16.03 kB / 0.6084 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/0.4952, allocations: 92.45 kB / 0.6084 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/0.4961, allocations: 486.6 kB / 0.6089 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.4963, allocations: 156.4 kB / 0.6091 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.065e-05/0.4963, allocations: 56.11 kB / 0.6091 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.4978, allocations: 1.068 MB / 0.6102 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.4978, allocations: 3.938 kB / 0.6102 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/0.4979, allocations: 23.94 kB / 0.6102 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.238e-05/0.4979, allocations: 40.98 kB / 0.6102 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.4991, allocations: 0.6439 MB / 0.6108 GB, free: 472 kB / 0.4981 GB 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.004526/0.5036, allocations: 3.325 MB / 0.6141 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008962/0.5045, allocations: 395 kB / 0.6145 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.5048, allocations: 193.4 kB / 0.6147 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002692/0.5051, allocations: 56.22 kB / 0.6147 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.5051, allocations: 38.89 kB / 0.6147 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.714e-06/0.5051, allocations: 0 / 0.6147 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003172/0.5083, allocations: 1.453 MB / 0.6162 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.5084, allocations: 132.5 kB / 0.6163 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/0.509, allocations: 0.5221 MB / 0.6168 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.509, allocations: 29.7 kB / 0.6168 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.5093, allocations: 376.3 kB / 0.6172 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.5095, allocations: 174.5 kB / 0.6174 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.5097, allocations: 142.6 kB / 0.6175 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5099, allocations: 370.7 kB / 0.6178 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.5103, allocations: 221.9 kB / 0.6181 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.511, allocations: 0.5993 MB / 0.6186 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.5121, allocations: 0.7767 MB / 0.6194 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5121, allocations: 8 kB / 0.6194 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001831/0.5139, allocations: 0.9276 MB / 0.6203 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5139, allocations: 12 kB / 0.6203 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5139, allocations: 8 kB / 0.6203 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.515, allocations: 260.8 kB / 0.6206 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004304/0.5154, allocations: 127.8 kB / 0.6207 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.5165, allocations: 0.8681 MB / 0.6215 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.5169, allocations: 28 kB / 0.6216 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.5169, allocations: 32 kB / 0.6216 GB, free: 4.887 MB / 0.5137 GB 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.0003331/0.5173, allocations: 249.9 kB / 0.6218 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.5174, allocations: 59.62 kB / 0.6219 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.5188, allocations: 0.7159 MB / 0.6226 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.5188, allocations: 4 kB / 0.6226 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5188, allocations: 0 / 0.6226 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5188, allocations: 7.969 kB / 0.6226 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.521, allocations: 1.236 MB / 0.6238 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.521, allocations: 12.06 kB / 0.6238 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009918/0.522, allocations: 191.8 kB / 0.624 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/0.5222, allocations: 60.67 kB / 0.6241 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.5222, allocations: 11.98 kB / 0.6241 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.5248, allocations: 2.726 MB / 0.6267 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5248, allocations: 4.25 kB / 0.6267 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.5264, allocations: 1.004 MB / 0.6277 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.5267, allocations: 123.5 kB / 0.6278 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.5268, allocations: 15.98 kB / 0.6279 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.5271, allocations: 11.94 kB / 0.6279 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.5272, allocations: 39.94 kB / 0.6279 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.5272, allocations: 19.98 kB / 0.6279 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004179/0.5277, allocations: 346.8 kB / 0.6283 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5277, allocations: 64 / 0.6283 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007339/0.5284, allocations: 215.8 kB / 0.6285 GB, free: 13.54 MB / 0.5294 GB 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.0003607/0.5288, allocations: 214.9 kB / 0.6287 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.5299, allocations: 0.5891 MB / 0.6292 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5299, allocations: 0 / 0.6292 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.5311, allocations: 471.5 kB / 0.6297 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.5325, allocations: 315.7 kB / 0.63 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.5348, allocations: 1.42 MB / 0.6314 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.5352, allocations: 349.1 kB / 0.6317 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005483/0.5357, allocations: 201.7 kB / 0.6319 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.5358, allocations: 48.5 kB / 0.632 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.5358, allocations: 0 / 0.632 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of Templates: time 0.02479/0.5606, allocations: 13.92 MB / 0.6455 GB, free: 12.25 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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: 5.637342575006187]