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.000767/0.000767, allocations: 84.45 kB / 20.69 MB, free: 3.863 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.0007344/0.0007344, allocations: 173.9 kB / 23.97 MB, free: 0.582 MB / 18.57 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 0.7559/0.7559, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1191/0.1191, allocations: 32.36 MB / 270.3 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.874e-05, allocations: 9.875 kB / 408.1 MB, free: 13 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01146/0.01148, allocations: 18.48 MB / 426.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.01523, allocations: 3.99 MB / 430.6 MB, free: 6.445 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.01552, allocations: 27.75 kB / 430.6 MB, free: 6.418 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000605/0.01613, allocations: 317.8 kB / 430.9 MB, free: 6.105 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.01724, allocations: 0.9086 MB / 431.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.01842, allocations: 0.9424 MB / 432.8 MB, free: 4.246 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.01951, allocations: 1.828 MB / 434.6 MB, free: 2.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.01989, allocations: 401.5 kB / 435 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.02094, allocations: 1.168 MB / 436.2 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.02147, allocations: 0.6155 MB / 436.8 MB, free: 228 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.729e-05/0.02153, allocations: 60 kB / 436.8 MB, free: 168 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1458/0.1674, allocations: 278.1 kB / 437.1 MB, free: 17.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005061/0.1679, allocations: 287.5 kB / 437.4 MB, free: 17.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000442/0.1683, allocations: 275.7 kB / 437.7 MB, free: 17.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.1697, allocations: 1.12 MB / 438.8 MB, free: 17.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1697, allocations: 1.609 kB / 438.8 MB, free: 17.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1697, allocations: 0 / 438.8 MB, free: 17.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1697, allocations: 6.797 kB / 438.8 MB, free: 17.91 MB / 362.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.001322/0.171, allocations: 0.9878 MB / 439.8 MB, free: 17.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.171, allocations: 10.64 kB / 439.8 MB, free: 17.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.1712, allocations: 95.36 kB / 439.9 MB, free: 17.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.1718, allocations: 471.3 kB / 440.3 MB, free: 17.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.1719, allocations: 156.9 kB / 440.5 MB, free: 17.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.1719, allocations: 50.23 kB / 440.6 MB, free: 17.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.1728, allocations: 1.101 MB / 441.7 MB, free: 16.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.1728, allocations: 9 kB / 441.7 MB, free: 16.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.1728, allocations: 22.98 kB / 441.7 MB, free: 16.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.1729, allocations: 38.75 kB / 441.7 MB, free: 16.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.1735, allocations: 0.6417 MB / 442.4 MB, free: 16.49 MB / 362.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.002347/0.1759, allocations: 3.327 MB / 445.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.1764, allocations: 395.9 kB / 446.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.1766, allocations: 195.1 kB / 446.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.1768, allocations: 48.77 kB / 446.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.1768, allocations: 39.31 kB / 446.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 1.272e-06/0.1768, allocations: 4 kB / 446.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.001862/0.1787, allocations: 1.455 MB / 447.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1787, allocations: 144.5 kB / 448 MB, free: 14.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.1791, allocations: 0.5138 MB / 448.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1791, allocations: 36.2 kB / 448.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1793, allocations: 373.6 kB / 448.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.357e-05/0.1794, allocations: 166.7 kB / 449 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.1795, allocations: 142.8 kB / 449.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.1796, allocations: 365.8 kB / 449.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.1799, allocations: 227.4 kB / 449.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.1802, allocations: 0.5992 MB / 450.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.1808, allocations: 0.7803 MB / 451.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1808, allocations: 3.438 kB / 451.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001073/0.1819, allocations: 0.9351 MB / 452.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1819, allocations: 8.969 kB / 452.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1819, allocations: 9.406 kB / 452.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/0.1825, allocations: 263 kB / 452.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.1827, allocations: 126.9 kB / 452.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005229/0.1833, allocations: 0.8628 MB / 453.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.1835, allocations: 25.56 kB / 453.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.1835, allocations: 37.56 kB / 453.4 MB, free: 11.73 MB / 362.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.0001873/0.1837, allocations: 247.8 kB / 453.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.1838, allocations: 61.72 kB / 453.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008303/0.1846, allocations: 0.7141 MB / 454.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1846, allocations: 7.969 kB / 454.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1846, allocations: 3.938 kB / 454.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1846, allocations: 6.141 kB / 454.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.1859, allocations: 1.231 MB / 455.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1859, allocations: 6.344 kB / 455.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.1864, allocations: 193.3 kB / 455.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.1865, allocations: 55.2 kB / 455.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.1865, allocations: 15.61 kB / 455.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009389/0.1875, allocations: 2.732 MB / 458.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1875, allocations: 5.719 kB / 458.7 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.1884, allocations: 0.9992 MB / 459.7 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.1885, allocations: 119.2 kB / 459.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.1885, allocations: 12.89 kB / 459.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.1887, allocations: 18.53 kB / 459.8 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.1888, allocations: 38.61 kB / 459.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.1888, allocations: 21.09 kB / 459.9 MB, free: 7.758 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002387/0.189, allocations: 353.8 kB / 460.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.189, allocations: 4.062 kB / 460.2 MB, free: 7.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004734/0.1895, allocations: 202.8 kB / 460.4 MB, free: 7.566 MB / 362.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.0003408/0.1899, allocations: 238.7 kB / 460.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007085/0.1906, allocations: 0.5919 MB / 461.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1906, allocations: 5.406 kB / 461.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.1912, allocations: 464.8 kB / 461.7 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/0.192, allocations: 311.7 kB / 462 MB, free: 6.973 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1933, allocations: 1.349 MB / 463.3 MB, free: 6.227 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.1934, allocations: 338.4 kB / 463.7 MB, free: 6.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1935, allocations: 63.27 kB / 463.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1935, allocations: 0 / 463.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of Templates: time 0.01011/0.2037, allocations: 15.26 MB / 479 MB, free: 12.9 MB / 378.7 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.996881568804383]