Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001151/0.001151, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005009/0.005009, allocations: 160.7 kB / 24.7 MB, free: 9.41 MB / 18.57 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 0.8274/0.8274, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2262/0.2262, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 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.LinearColdWater,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.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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 443.5 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.653e-05, allocations: 2.844 kB / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1807/0.1808, allocations: 18.57 MB / 462 MB, free: 32.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.1842, allocations: 3.986 MB / 466 MB, free: 30.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003223/0.1845, allocations: 25.16 kB / 466 MB, free: 30.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.1851, allocations: 316.1 kB / 466.3 MB, free: 30.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.1862, allocations: 0.9044 MB / 467.2 MB, free: 29.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1874, allocations: 0.9484 MB / 468.2 MB, free: 29.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009765/0.1884, allocations: 1.835 MB / 470 MB, free: 28.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.1888, allocations: 392.8 kB / 470.4 MB, free: 28.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009945/0.1898, allocations: 1.176 MB / 471.6 MB, free: 27.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004829/0.1902, allocations: 0.6207 MB / 472.2 MB, free: 27.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.1903, allocations: 57.19 kB / 472.3 MB, free: 27.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.1907, allocations: 282.2 kB / 472.5 MB, free: 27.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.1909, allocations: 281.1 kB / 472.8 MB, free: 27.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.1911, allocations: 284 kB / 473.1 MB, free: 27.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008032/0.1919, allocations: 1.117 MB / 474.2 MB, free: 26.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1919, allocations: 4 kB / 474.2 MB, free: 26.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1919, allocations: 0 / 474.2 MB, free: 26.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1919, allocations: 6.797 kB / 474.2 MB, free: 26.71 MB / 410.7 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.001385/0.1933, allocations: 0.9862 MB / 475.2 MB, free: 26.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1933, allocations: 9.75 kB / 475.2 MB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.1935, allocations: 92.66 kB / 475.3 MB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.194, allocations: 490.7 kB / 475.8 MB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-05/0.1941, allocations: 157.2 kB / 475.9 MB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.1942, allocations: 46.5 kB / 476 MB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.1949, allocations: 1.069 MB / 477.1 MB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1949, allocations: 7.281 kB / 477.1 MB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.1949, allocations: 26.58 kB / 477.1 MB, free: 24.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.195, allocations: 36.3 kB / 477.1 MB, free: 24.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.1956, allocations: 0.6393 MB / 477.8 MB, free: 24.54 MB / 410.7 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.00217/0.1977, allocations: 3.332 MB / 481.1 MB, free: 22.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.1982, allocations: 406.4 kB / 481.5 MB, free: 21.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.1984, allocations: 190.9 kB / 481.7 MB, free: 21.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.1986, allocations: 52.61 kB / 481.7 MB, free: 21.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.1986, allocations: 37.98 kB / 481.8 MB, free: 21.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.453e-06/0.1986, allocations: 0 / 481.8 MB, free: 21.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001745/0.2004, allocations: 1.456 MB / 483.2 MB, free: 21.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.2004, allocations: 138.1 kB / 483.4 MB, free: 20.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.2007, allocations: 0.5157 MB / 483.9 MB, free: 20.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.2007, allocations: 36.8 kB / 483.9 MB, free: 20.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.2008, allocations: 364.2 kB / 484.3 MB, free: 20.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.2009, allocations: 169 kB / 484.4 MB, free: 20.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.201, allocations: 140.7 kB / 484.6 MB, free: 20.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.2011, allocations: 373.5 kB / 484.9 MB, free: 19.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.2013, allocations: 219.2 kB / 485.1 MB, free: 19.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.2016, allocations: 0.598 MB / 485.7 MB, free: 19.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.2021, allocations: 0.7776 MB / 486.5 MB, free: 18.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2021, allocations: 3.062 kB / 486.5 MB, free: 18.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009224/0.203, allocations: 0.9315 MB / 487.5 MB, free: 18.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.203, allocations: 10.09 kB / 487.5 MB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.203, allocations: 13.5 kB / 487.5 MB, free: 18.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/0.2037, allocations: 276.6 kB / 487.7 MB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.2039, allocations: 120.5 kB / 487.9 MB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004931/0.2044, allocations: 0.8603 MB / 488.7 MB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.2046, allocations: 30.2 kB / 488.8 MB, free: 17.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.2046, allocations: 38.44 kB / 488.8 MB, free: 17.36 MB / 410.7 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.0001708/0.2048, allocations: 254.9 kB / 489 MB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.2048, allocations: 65.64 kB / 489.1 MB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007419/0.2056, allocations: 0.7036 MB / 489.8 MB, free: 16.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.2056, allocations: 13.75 kB / 489.8 MB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2056, allocations: 0 / 489.8 MB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2056, allocations: 3.281 kB / 489.8 MB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.2068, allocations: 1.225 MB / 491.1 MB, free: 16.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2068, allocations: 2.75 kB / 491.1 MB, free: 16.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.2073, allocations: 196.8 kB / 491.2 MB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.2074, allocations: 61.44 kB / 491.3 MB, free: 16.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.2075, allocations: 16.52 kB / 491.3 MB, free: 16.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.2086, allocations: 2.726 MB / 494.1 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2086, allocations: 4.797 kB / 494.1 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009273/0.2095, allocations: 0.9953 MB / 495.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.2096, allocations: 110.2 kB / 495.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.2097, allocations: 17.44 kB / 495.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.2098, allocations: 21.02 kB / 495.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.2099, allocations: 39.92 kB / 495.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.2099, allocations: 20.42 kB / 495.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000243/0.2102, allocations: 347.7 kB / 495.6 MB, free: 12.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2102, allocations: 0 / 495.6 MB, free: 12.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005091/0.2107, allocations: 206.4 kB / 495.8 MB, free: 12.66 MB / 410.7 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.0003108/0.211, allocations: 221.2 kB / 496 MB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007647/0.2118, allocations: 0.5828 MB / 496.6 MB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2118, allocations: 1.531 kB / 496.6 MB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005854/0.2124, allocations: 466 kB / 497.1 MB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.2132, allocations: 326.8 kB / 497.4 MB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.2145, allocations: 1.356 MB / 498.7 MB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2147, allocations: 343.5 kB / 499.1 MB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2148, allocations: 64.55 kB / 499.1 MB, free: 11.12 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2148, allocations: 0 / 499.1 MB, free: 11.12 MB / 410.7 MB Notification: Performance of Templates: time 0.01465/0.2295, allocations: 15.24 MB / 0.5023 GB, free: 6.848 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.891563410870731]