Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001834/0.001834, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002385/0.002385, allocations: 215.5 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2393/0.2393, allocations: 44.26 MB / 330.3 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 67.91 kB / 468 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1509, allocations: 61.04 MB / 0.5167 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02858/0.1795, allocations: 18.58 MB / 0.5348 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008042/0.1875, allocations: 3.991 MB / 0.5387 GB, free: 8 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.2587/0.4463, allocations: 27.08 kB / 0.5387 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.4474, allocations: 303.6 kB / 0.539 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.4502, allocations: 0.8751 MB / 0.5399 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.4528, allocations: 0.9301 MB / 0.5408 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002781/0.4556, allocations: 1.809 MB / 0.5425 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007648/0.4563, allocations: 390.8 kB / 0.5429 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.4586, allocations: 0.9495 MB / 0.5438 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.4599, allocations: 0.6646 MB / 0.5445 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.46, allocations: 59.56 kB / 0.5445 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008964/0.4609, allocations: 279 kB / 0.5448 GB, free: 10 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.4612, allocations: 272.3 kB / 0.5451 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.4616, allocations: 326.2 kB / 0.5454 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.4631, allocations: 1.086 MB / 0.5464 GB, free: 9.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4631, allocations: 2 kB / 0.5464 GB, free: 9.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4631, allocations: 0 / 0.5464 GB, free: 9.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4631, allocations: 0.5 kB / 0.5464 GB, free: 9.754 MB / 414.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.002252/0.4654, allocations: 1.004 MB / 0.5474 GB, free: 9.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4654, allocations: 10.03 kB / 0.5474 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000362/0.4658, allocations: 90.92 kB / 0.5475 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.4668, allocations: 478.2 kB / 0.548 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.467, allocations: 157.8 kB / 0.5481 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.4671, allocations: 49.88 kB / 0.5482 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.4685, allocations: 1.101 MB / 0.5493 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.4686, allocations: 5 kB / 0.5493 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.4686, allocations: 27.66 kB / 0.5493 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.207e-05/0.4687, allocations: 38 kB / 0.5493 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.4698, allocations: 0.6418 MB / 0.5499 GB, free: 8.25 MB / 414.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.004706/0.4745, allocations: 3.345 MB / 0.5532 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.4756, allocations: 393.5 kB / 0.5536 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.4761, allocations: 194.8 kB / 0.5538 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003295/0.4764, allocations: 53.08 kB / 0.5538 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.4765, allocations: 38.7 kB / 0.5539 GB, free: 6.199 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.4765, allocations: 0 / 0.5539 GB, free: 6.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.00349/0.4799, allocations: 1.461 MB / 0.5553 GB, free: 5.867 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.48, allocations: 137.5 kB / 0.5554 GB, free: 5.711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.4807, allocations: 0.5206 MB / 0.5559 GB, free: 5.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.4808, allocations: 33.95 kB / 0.556 GB, free: 5.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.481, allocations: 376.4 kB / 0.5563 GB, free: 5.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.4812, allocations: 170.3 kB / 0.5565 GB, free: 5.215 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.4814, allocations: 133.4 kB / 0.5566 GB, free: 5.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4815, allocations: 369.3 kB / 0.557 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.482, allocations: 225.3 kB / 0.5572 GB, free: 4.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.4826, allocations: 0.5979 MB / 0.5578 GB, free: 4.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.4837, allocations: 0.7783 MB / 0.5585 GB, free: 3.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.4837, allocations: 6.906 kB / 0.5585 GB, free: 3.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001741/0.4854, allocations: 0.9309 MB / 0.5594 GB, free: 3.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4854, allocations: 9.125 kB / 0.5594 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.4854, allocations: 10.08 kB / 0.5595 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.4866, allocations: 275.4 kB / 0.5597 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/0.487, allocations: 125.2 kB / 0.5598 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009674/0.488, allocations: 0.8603 MB / 0.5607 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.4885, allocations: 35.28 kB / 0.5607 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.4885, allocations: 34.33 kB / 0.5607 GB, free: 2.5 MB / 414.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.0003591/0.4889, allocations: 247.2 kB / 0.561 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.4891, allocations: 62.83 kB / 0.561 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.4904, allocations: 0.7143 MB / 0.5617 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.4905, allocations: 6.312 kB / 0.5617 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.4905, allocations: 1.031 kB / 0.5617 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.4905, allocations: 2.719 kB / 0.5617 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.4927, allocations: 1.235 MB / 0.563 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4927, allocations: 5.094 kB / 0.563 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009949/0.4937, allocations: 191.8 kB / 0.5631 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002391/0.494, allocations: 61.12 kB / 0.5632 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.494, allocations: 19.08 kB / 0.5632 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.4965, allocations: 2.73 MB / 0.5659 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4965, allocations: 6.281 kB / 0.5659 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.4985, allocations: 0.9946 MB / 0.5669 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.4988, allocations: 119.4 kB / 0.567 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/0.4989, allocations: 15.25 kB / 0.567 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.4993, allocations: 16.75 kB / 0.567 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4994, allocations: 43.33 kB / 0.567 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.4995, allocations: 23.06 kB / 0.5671 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005034/0.5, allocations: 347 kB / 0.5674 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5, allocations: 0 / 0.5674 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009143/0.5009, allocations: 206.5 kB / 0.5676 GB, free: 13.79 MB / 430.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.0005797/0.5015, allocations: 227.3 kB / 0.5678 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.5028, allocations: 0.5888 MB / 0.5684 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5028, allocations: 5.375 kB / 0.5684 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.504, allocations: 472.2 kB / 0.5688 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.5055, allocations: 324.5 kB / 0.5692 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.5082, allocations: 1.403 MB / 0.5705 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.5086, allocations: 343.9 kB / 0.5709 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006623/0.5093, allocations: 198.2 kB / 0.571 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.5095, allocations: 57.14 kB / 0.5711 GB, free: 12.21 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5095, allocations: 0 / 0.5711 GB, free: 12.21 MB / 430.1 MB Notification: Performance of Templates: time 0.02996/0.5394, allocations: 14.85 MB / 0.5856 GB, free: 5.531 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.374984668567777]