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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 186 kB / 21.49 MB, free: 0.8242 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.566/1.566, allocations: 207.6 MB / 232.1 MB, free: 3.188 MB / 174.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.3902/0.3902, allocations: 44.24 MB / 328.4 MB, free: 6.305 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 70.88 kB / 465.5 MB, free: 45.88 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1195, allocations: 61 MB / 0.5142 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01822/0.1377, allocations: 20.6 MB / 0.5343 GB, free: 8.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00704/0.1448, allocations: 4.337 MB / 0.5386 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007254/0.1455, allocations: 19.88 kB / 0.5386 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000965/0.1464, allocations: 314 kB / 0.5389 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.1486, allocations: 0.8706 MB / 0.5397 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.1512, allocations: 0.8974 MB / 0.5406 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002409/0.1536, allocations: 1.805 MB / 0.5424 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006051/0.1542, allocations: 397.4 kB / 0.5427 GB, free: 68 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.156, allocations: 0.934 MB / 0.5437 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009659/0.1569, allocations: 0.6734 MB / 0.5443 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.157, allocations: 56 kB / 0.5444 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008083/0.1578, allocations: 315.6 kB / 0.5447 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.1581, allocations: 271.1 kB / 0.5449 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.1586, allocations: 394.2 kB / 0.5453 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.16, allocations: 1.094 MB / 0.5464 GB, free: 12.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.16, allocations: 0 / 0.5464 GB, free: 12.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.16, allocations: 4 kB / 0.5464 GB, free: 12.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.16, allocations: 0 / 0.5464 GB, free: 12.34 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.002342/0.1624, allocations: 1.066 MB / 0.5474 GB, free: 11.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1624, allocations: 15.84 kB / 0.5474 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/0.1628, allocations: 96.45 kB / 0.5475 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008283/0.1636, allocations: 0.5408 MB / 0.5481 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.1637, allocations: 101 kB / 0.5482 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/0.1638, allocations: 48.38 kB / 0.5482 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.1651, allocations: 0.8213 MB / 0.549 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.1651, allocations: 7.938 kB / 0.549 GB, free: 9.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/0.1652, allocations: 24 kB / 0.549 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-05/0.1652, allocations: 36.97 kB / 0.5491 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.1664, allocations: 0.6439 MB / 0.5497 GB, free: 8.766 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.005132/0.1715, allocations: 4.229 MB / 0.5538 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009324/0.1724, allocations: 388 kB / 0.5542 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.1728, allocations: 193.4 kB / 0.5544 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005905/0.1734, allocations: 0.5068 MB / 0.5549 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.1734, allocations: 42.89 kB / 0.5549 GB, free: 3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.026e-06/0.1734, allocations: 0 / 0.5549 GB, free: 3 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003305/0.1767, allocations: 1.527 MB / 0.5564 GB, free: 1.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.1768, allocations: 136.5 kB / 0.5565 GB, free: 1.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007271/0.1775, allocations: 0.5693 MB / 0.5571 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.1776, allocations: 37.7 kB / 0.5571 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.1779, allocations: 363.9 kB / 0.5575 GB, free: 280 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.178, allocations: 178.5 kB / 0.5576 GB, free: 100 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.1783, allocations: 138.7 kB / 0.5578 GB, free: 15.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.1785, allocations: 378.7 kB / 0.5581 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.1789, allocations: 221.9 kB / 0.5583 GB, free: 15.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/0.1796, allocations: 0.5201 MB / 0.5589 GB, free: 14.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.1807, allocations: 0.7757 MB / 0.5596 GB, free: 13.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1807, allocations: 8 kB / 0.5596 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001803/0.1825, allocations: 0.9416 MB / 0.5605 GB, free: 12.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1825, allocations: 8 kB / 0.5605 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.1826, allocations: 8 kB / 0.5606 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.1837, allocations: 268.5 kB / 0.5608 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.1841, allocations: 127.8 kB / 0.5609 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009874/0.1851, allocations: 0.8606 MB / 0.5618 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.1855, allocations: 31.92 kB / 0.5618 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.1856, allocations: 36 kB / 0.5618 GB, free: 11.48 MB / 430.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.000364/0.186, allocations: 245.5 kB / 0.5621 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.1861, allocations: 67.58 kB / 0.5621 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.1875, allocations: 0.713 MB / 0.5628 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.1875, allocations: 8 kB / 0.5628 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1875, allocations: 0 / 0.5628 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.1875, allocations: 7.922 kB / 0.5629 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.1897, allocations: 1.392 MB / 0.5642 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.1897, allocations: 12.16 kB / 0.5642 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009601/0.1907, allocations: 187.8 kB / 0.5644 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002583/0.191, allocations: 60.78 kB / 0.5645 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.191, allocations: 8 kB / 0.5645 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/0.1938, allocations: 2.99 MB / 0.5674 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.1938, allocations: 4.031 kB / 0.5674 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.1954, allocations: 1.001 MB / 0.5684 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.1958, allocations: 204.5 kB / 0.5686 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-05/0.1958, allocations: 16 kB / 0.5686 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.1962, allocations: 15.98 kB / 0.5686 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.1963, allocations: 47.89 kB / 0.5686 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.1964, allocations: 19.98 kB / 0.5687 GB, free: 4.055 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000573/0.1969, allocations: 419 kB / 0.5691 GB, free: 3.645 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1969, allocations: 0 / 0.5691 GB, free: 3.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000833/0.1978, allocations: 203.9 kB / 0.5693 GB, free: 3.445 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.0005916/0.1984, allocations: 237.2 kB / 0.5695 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.1996, allocations: 0.5815 MB / 0.57 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1996, allocations: 0 / 0.57 GB, free: 2.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.2008, allocations: 466.1 kB / 0.5705 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.2024, allocations: 384.6 kB / 0.5709 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.2048, allocations: 1.422 MB / 0.5722 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006374/0.2055, allocations: 0.9424 MB / 0.5732 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006307/0.2061, allocations: 208.3 kB / 0.5734 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.2063, allocations: 63.42 kB / 0.5734 GB, free: 15.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.173e-06/0.2063, allocations: 0 / 0.5734 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Templates: time 0.02921/0.2355, allocations: 15.63 MB / 0.5887 GB, free: 15.47 MB / 462.1 MB " [Timeout remaining time 660] 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: 5.797430525533855]