Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008662/0.0008662, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001023/0.001023, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8655/0.8655, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 32.78 MB / 293.5 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 3.938 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.891e-05, allocations: 4.953 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1669/0.167, allocations: 18.57 MB / 458.2 MB, free: 35.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.1699, allocations: 3.982 MB / 462.2 MB, free: 33.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.1701, allocations: 29.28 kB / 462.2 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.1707, allocations: 307.3 kB / 462.5 MB, free: 33.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009335/0.1716, allocations: 0.9152 MB / 463.4 MB, free: 32.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1726, allocations: 0.9462 MB / 464.3 MB, free: 32.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008835/0.1735, allocations: 1.837 MB / 466.2 MB, free: 31.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.1738, allocations: 391.6 kB / 466.6 MB, free: 31.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000999/0.1748, allocations: 1.174 MB / 467.7 MB, free: 30.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/0.1753, allocations: 0.6193 MB / 468.4 MB, free: 30.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.1754, allocations: 62.03 kB / 468.4 MB, free: 30.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.1758, allocations: 281.4 kB / 468.7 MB, free: 30.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1759, allocations: 280.3 kB / 469 MB, free: 30.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.1761, allocations: 285.4 kB / 469.2 MB, free: 30.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00071/0.1768, allocations: 1.12 MB / 470.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1768, allocations: 0 / 470.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1768, allocations: 0 / 470.4 MB, free: 29.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1768, allocations: 0 / 470.4 MB, free: 29.64 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.001233/0.1781, allocations: 0.9924 MB / 471.4 MB, free: 29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1781, allocations: 6.625 kB / 471.4 MB, free: 29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.184e-05/0.1782, allocations: 103 kB / 471.5 MB, free: 28.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.1784, allocations: 86.16 kB / 471.6 MB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.1788, allocations: 479 kB / 472 MB, free: 28.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/0.1789, allocations: 153.4 kB / 472.2 MB, free: 28.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.179, allocations: 46.12 kB / 472.2 MB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007329/0.1797, allocations: 1.077 MB / 473.3 MB, free: 27.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1797, allocations: 3.938 kB / 473.3 MB, free: 27.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.1798, allocations: 21.03 kB / 473.3 MB, free: 27.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.1798, allocations: 44.47 kB / 473.4 MB, free: 27.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/0.1804, allocations: 0.648 MB / 474 MB, free: 27.41 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.002158/0.1826, allocations: 3.402 MB / 477.4 MB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/0.183, allocations: 403.6 kB / 477.8 MB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1832, allocations: 194.6 kB / 478 MB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.1834, allocations: 49.22 kB / 478 MB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.1834, allocations: 37.83 kB / 478.1 MB, free: 24.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.024e-06/0.1834, allocations: 6.75 kB / 478.1 MB, free: 24.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001733/0.1851, allocations: 1.456 MB / 479.5 MB, free: 23.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.1851, allocations: 131.7 kB / 479.7 MB, free: 23.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.1855, allocations: 0.5859 MB / 480.3 MB, free: 23.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1855, allocations: 36.77 kB / 480.3 MB, free: 23.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1856, allocations: 359.9 kB / 480.6 MB, free: 23.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.1857, allocations: 172.1 kB / 480.8 MB, free: 22.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.1858, allocations: 138.7 kB / 480.9 MB, free: 22.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.1858, allocations: 370.7 kB / 481.3 MB, free: 22.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.186, allocations: 232.1 kB / 481.5 MB, free: 22.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.1863, allocations: 0.5938 MB / 482.1 MB, free: 21.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.1868, allocations: 0.777 MB / 482.9 MB, free: 21.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1868, allocations: 7 kB / 482.9 MB, free: 21.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009186/0.1877, allocations: 0.9439 MB / 483.9 MB, free: 20.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1878, allocations: 9.312 kB / 483.9 MB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1878, allocations: 12.34 kB / 483.9 MB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/0.1883, allocations: 261.2 kB / 484.1 MB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.1885, allocations: 125.5 kB / 484.3 MB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004675/0.189, allocations: 0.8697 MB / 485.1 MB, free: 20.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.1892, allocations: 23.66 kB / 485.1 MB, free: 20.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.1892, allocations: 41.94 kB / 485.2 MB, free: 20.15 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.0001623/0.1894, allocations: 249.3 kB / 485.4 MB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.1895, allocations: 69.7 kB / 485.5 MB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.1902, allocations: 0.7123 MB / 486.2 MB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1902, allocations: 10.38 kB / 486.2 MB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1902, allocations: 0 / 486.2 MB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1902, allocations: 3.516 kB / 486.2 MB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1913, allocations: 1.302 MB / 487.5 MB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1913, allocations: 0 / 487.5 MB, free: 18.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000454/0.1917, allocations: 196 kB / 487.7 MB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.1918, allocations: 63.08 kB / 487.8 MB, free: 18.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1918, allocations: 14.94 kB / 487.8 MB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000911/0.1928, allocations: 2.764 MB / 490.6 MB, free: 16.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1928, allocations: 2.625 kB / 490.6 MB, free: 16.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/0.1936, allocations: 1.006 MB / 491.6 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.1938, allocations: 127.8 kB / 491.7 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.1938, allocations: 16.41 kB / 491.7 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.194, allocations: 22.06 kB / 491.7 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.1941, allocations: 34.66 kB / 491.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.1941, allocations: 24.45 kB / 491.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002912/0.1944, allocations: 418.6 kB / 492.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1944, allocations: 2.906 kB / 492.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004814/0.1949, allocations: 207.5 kB / 492.4 MB, free: 15.29 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.001195/0.1961, allocations: 1.677 MB / 494.1 MB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007441/0.1968, allocations: 0.5724 MB / 494.7 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1968, allocations: 5.156 kB / 494.7 MB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007107/0.1975, allocations: 473.5 kB / 495.1 MB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.1985, allocations: 375.7 kB / 495.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.2039, allocations: 6.476 MB / 0.4902 GB, free: 9.848 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.2042, allocations: 345.2 kB / 0.4905 GB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004091/0.2046, allocations: 213.3 kB / 0.4907 GB, free: 9.688 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.2048, allocations: 230.6 kB / 0.491 GB, free: 9.527 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2048, allocations: 1.281 kB / 0.491 GB, free: 9.527 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.2393, allocations: 23.66 MB / 0.5141 GB, free: 13.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.601, allocations: 4.062 kB / 0.5141 GB, free: 13.24 MB / 426.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.574710142798722]