Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00167/0.00167, allocations: 115 kB / 19.13 MB, free: 3.945 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.002/0.002, allocations: 202.6 kB / 22.07 MB, free: 1 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.452/1.452, allocations: 227.5 MB / 252.3 MB, free: 60 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.15 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 80.55 kB / 490.9 MB, free: 28.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1254, allocations: 62.44 MB / 0.5404 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02507/0.1505, allocations: 20.36 MB / 0.5602 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006931/0.1575, allocations: 4.295 MB / 0.5644 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.1581, allocations: 19.88 kB / 0.5645 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009256/0.1591, allocations: 314 kB / 0.5648 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.1613, allocations: 0.855 MB / 0.5656 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.1639, allocations: 0.8984 MB / 0.5665 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002428/0.1663, allocations: 1.797 MB / 0.5682 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007277/0.167, allocations: 461.4 kB / 0.5687 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00195/0.169, allocations: 0.9261 MB / 0.5696 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.1701, allocations: 0.6461 MB / 0.5702 GB, free: 5.582 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.1702, allocations: 60 kB / 0.5703 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.1711, allocations: 299.7 kB / 0.5705 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.1714, allocations: 255.3 kB / 0.5708 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004885/0.1719, allocations: 394.2 kB / 0.5712 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.1735, allocations: 1.09 MB / 0.5722 GB, free: 3.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1735, allocations: 0 / 0.5722 GB, free: 3.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1736, allocations: 0 / 0.5722 GB, free: 3.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1736, allocations: 0 / 0.5722 GB, free: 3.5 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.00232/0.1759, allocations: 1.074 MB / 0.5733 GB, free: 2.375 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1759, allocations: 8.031 kB / 0.5733 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/0.1763, allocations: 96.41 kB / 0.5734 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.1772, allocations: 0.5331 MB / 0.5739 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.1773, allocations: 105 kB / 0.574 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-05/0.1774, allocations: 56.31 kB / 0.574 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.1788, allocations: 0.8166 MB / 0.5748 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.1788, allocations: 4 kB / 0.5748 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/0.1789, allocations: 23.98 kB / 0.5749 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.188e-05/0.1789, allocations: 48.92 kB / 0.5749 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.1801, allocations: 0.6401 MB / 0.5755 GB, free: 15.93 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.00517/0.1853, allocations: 4.21 MB / 0.5797 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009079/0.1862, allocations: 420.9 kB / 0.5801 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.1865, allocations: 205.4 kB / 0.5802 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005496/0.1871, allocations: 0.5028 MB / 0.5807 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.1871, allocations: 42.89 kB / 0.5808 GB, free: 10.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.074e-06/0.1872, allocations: 0 / 0.5808 GB, free: 10.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003376/0.1905, allocations: 1.545 MB / 0.5823 GB, free: 8.543 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1907, allocations: 136.5 kB / 0.5824 GB, free: 8.379 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007351/0.1914, allocations: 0.5655 MB / 0.583 GB, free: 7.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.1915, allocations: 33.7 kB / 0.583 GB, free: 7.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.1918, allocations: 363.9 kB / 0.5834 GB, free: 7.402 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.1919, allocations: 174.5 kB / 0.5835 GB, free: 7.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.1922, allocations: 138.6 kB / 0.5837 GB, free: 7.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1924, allocations: 382.7 kB / 0.584 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.1928, allocations: 217.9 kB / 0.5842 GB, free: 6.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.1935, allocations: 0.5318 MB / 0.5847 GB, free: 5.828 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.1946, allocations: 0.764 MB / 0.5855 GB, free: 4.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1946, allocations: 4 kB / 0.5855 GB, free: 4.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001863/0.1964, allocations: 0.9457 MB / 0.5864 GB, free: 3.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1965, allocations: 12.06 kB / 0.5864 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.1965, allocations: 12 kB / 0.5864 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.1976, allocations: 264.6 kB / 0.5867 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.1981, allocations: 123.8 kB / 0.5868 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.1992, allocations: 0.8837 MB / 0.5877 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.1996, allocations: 24 kB / 0.5877 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.1997, allocations: 39.98 kB / 0.5877 GB, free: 2.602 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.0003566/0.2001, allocations: 245.5 kB / 0.588 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.2002, allocations: 67.58 kB / 0.588 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.2016, allocations: 0.7152 MB / 0.5887 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.2017, allocations: 4 kB / 0.5887 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2017, allocations: 0 / 0.5887 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2017, allocations: 3.984 kB / 0.5887 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.204, allocations: 1.401 MB / 0.5901 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.204, allocations: 3.938 kB / 0.5901 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.205, allocations: 199.9 kB / 0.5903 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.2052, allocations: 56.73 kB / 0.5904 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.2053, allocations: 16 kB / 0.5904 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.208, allocations: 2.979 MB / 0.5933 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.2081, allocations: 8.094 kB / 0.5933 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.2097, allocations: 1.005 MB / 0.5943 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.2101, allocations: 200.6 kB / 0.5945 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.306e-05/0.2102, allocations: 12 kB / 0.5945 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.2105, allocations: 19.98 kB / 0.5945 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2107, allocations: 43.77 kB / 0.5945 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.2107, allocations: 20.06 kB / 0.5946 GB, free: 11.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005658/0.2113, allocations: 431 kB / 0.595 GB, free: 10.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2113, allocations: 0 / 0.595 GB, free: 10.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007836/0.2121, allocations: 203.9 kB / 0.5952 GB, free: 10.56 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.0005682/0.2127, allocations: 234.8 kB / 0.5954 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.2139, allocations: 0.6086 MB / 0.596 GB, free: 9.727 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.214, allocations: 4 kB / 0.596 GB, free: 9.723 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.2152, allocations: 474.6 kB / 0.5964 GB, free: 9.246 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.2169, allocations: 369.9 kB / 0.5968 GB, free: 8.887 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.2194, allocations: 1.465 MB / 0.5982 GB, free: 7.367 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.2201, allocations: 0.9346 MB / 0.5991 GB, free: 6.406 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.2203, allocations: 67.42 kB / 0.5992 GB, free: 6.34 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2203, allocations: 0 / 0.5992 GB, free: 6.34 MB / 462.1 MB Notification: Performance of Templates: time 0.2488/0.4691, allocations: 15.64 MB / 0.6145 GB, free: 58.57 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 10.254679044010118]