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.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.001251/0.001251, allocations: 119 kB / 18.5 MB, free: 4.566 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.001293/0.001293, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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.2899/0.2899, allocations: 44.92 MB / 349.6 MB, free: 1.734 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> 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 0.001883/0.001883, allocations: 71.56 kB / 491.8 MB, free: 30.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1177, allocations: 64.27 MB / 0.543 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0244/0.1421, allocations: 20.35 MB / 0.5629 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007109/0.1492, allocations: 4.313 MB / 0.5671 GB, free: 11.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008324/0.1501, allocations: 15.88 kB / 0.5671 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.1512, allocations: 322 kB / 0.5674 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002515/0.1538, allocations: 0.8706 MB / 0.5683 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.1565, allocations: 0.8987 MB / 0.5692 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002804/0.1593, allocations: 1.794 MB / 0.5709 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000996/0.1603, allocations: 415 kB / 0.5713 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.1628, allocations: 0.9418 MB / 0.5722 GB, free: 6.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.164, allocations: 0.6734 MB / 0.5729 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.1642, allocations: 60 kB / 0.5729 GB, free: 5.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009445/0.1651, allocations: 307.6 kB / 0.5732 GB, free: 5.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.1655, allocations: 271.1 kB / 0.5735 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005016/0.166, allocations: 398.2 kB / 0.5739 GB, free: 4.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.1678, allocations: 1.082 MB / 0.5749 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1678, allocations: 0 / 0.5749 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1678, allocations: 0 / 0.5749 GB, free: 3.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.1678, allocations: 3.938 kB / 0.5749 GB, free: 3.426 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.002518/0.1703, allocations: 1.07 MB / 0.576 GB, free: 2.305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.1704, allocations: 8.031 kB / 0.576 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.1705, allocations: 102.7 kB / 0.5761 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.1709, allocations: 100.4 kB / 0.5762 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.172, allocations: 0.5369 MB / 0.5767 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.1721, allocations: 101 kB / 0.5768 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.1722, allocations: 52.11 kB / 0.5768 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.1735, allocations: 0.8174 MB / 0.5776 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1736, allocations: 4 kB / 0.5777 GB, free: 472 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.1736, allocations: 27.98 kB / 0.5777 GB, free: 444 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-05/0.1737, allocations: 36.98 kB / 0.5777 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.1748, allocations: 0.6438 MB / 0.5783 GB, free: 15.75 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.005891/0.1807, allocations: 4.218 MB / 0.5825 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.1817, allocations: 392 kB / 0.5828 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.1821, allocations: 205.3 kB / 0.583 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/0.1827, allocations: 0.5029 MB / 0.5835 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.1827, allocations: 34.89 kB / 0.5836 GB, free: 9.992 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.1827, allocations: 7.938 kB / 0.5836 GB, free: 9.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003658/0.1864, allocations: 1.541 MB / 0.5851 GB, free: 8.383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1865, allocations: 132.5 kB / 0.5852 GB, free: 8.223 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/0.1873, allocations: 0.5733 MB / 0.5858 GB, free: 7.637 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.1873, allocations: 33.7 kB / 0.5858 GB, free: 7.598 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.1877, allocations: 355.9 kB / 0.5861 GB, free: 7.246 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.1879, allocations: 178.5 kB / 0.5863 GB, free: 7.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.1881, allocations: 138.6 kB / 0.5864 GB, free: 6.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1883, allocations: 378.7 kB / 0.5868 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.1887, allocations: 221.9 kB / 0.587 GB, free: 6.336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007331/0.1894, allocations: 0.524 MB / 0.5875 GB, free: 5.676 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.1906, allocations: 0.7757 MB / 0.5883 GB, free: 4.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.1906, allocations: 4 kB / 0.5883 GB, free: 4.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00205/0.1927, allocations: 0.9294 MB / 0.5892 GB, free: 3.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1927, allocations: 12 kB / 0.5892 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.1927, allocations: 8 kB / 0.5892 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.1938, allocations: 269.4 kB / 0.5895 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.1943, allocations: 127.8 kB / 0.5896 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.1953, allocations: 0.8684 MB / 0.5904 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.1958, allocations: 23.94 kB / 0.5905 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.1959, allocations: 36 kB / 0.5905 GB, free: 2.473 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.0003809/0.1962, allocations: 249.6 kB / 0.5907 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.1964, allocations: 71.53 kB / 0.5908 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.1978, allocations: 0.7152 MB / 0.5915 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1978, allocations: 8 kB / 0.5915 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.1978, allocations: 8 kB / 0.5915 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1978, allocations: 0 / 0.5915 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.2002, allocations: 1.4 MB / 0.5929 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.2002, allocations: 3.984 kB / 0.5929 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009963/0.2012, allocations: 195.8 kB / 0.5931 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/0.2014, allocations: 60.95 kB / 0.5931 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.2015, allocations: 15.98 kB / 0.5931 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.2043, allocations: 2.979 MB / 0.596 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2043, allocations: 3.938 kB / 0.596 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.206, allocations: 1.005 MB / 0.597 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003882/0.2064, allocations: 200.6 kB / 0.5972 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.2065, allocations: 16.05 kB / 0.5972 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.2069, allocations: 16 kB / 0.5973 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.2069, allocations: 35.89 kB / 0.5973 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.207, allocations: 23.98 kB / 0.5973 GB, free: 11.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000565/0.2076, allocations: 427 kB / 0.5977 GB, free: 10.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2076, allocations: 0 / 0.5977 GB, free: 10.62 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007905/0.2084, allocations: 203.9 kB / 0.5979 GB, free: 10.43 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.002395/0.2108, allocations: 1.664 MB / 0.5995 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.212, allocations: 0.5926 MB / 0.6001 GB, free: 8.125 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.212, allocations: 0 / 0.6001 GB, free: 8.125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.2133, allocations: 474.7 kB / 0.6006 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.215, allocations: 374.1 kB / 0.6009 GB, free: 7.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.2251, allocations: 6.531 MB / 0.6073 GB, free: 380 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.221/0.4461, allocations: 0.9328 MB / 0.6082 GB, free: 61.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007887/0.4469, allocations: 210.6 kB / 0.6084 GB, free: 61.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.4472, allocations: 231.8 kB / 0.6086 GB, free: 61.91 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4472, allocations: 0.5312 kB / 0.6086 GB, free: 61.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05661/0.5038, allocations: 22.27 MB / 0.6304 GB, free: 54.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.75, allocations: 9.578 kB / 0.6304 GB, free: 54.3 MB / 462.1 MB " [Timeout remaining time 646] (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/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_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: 16.942521686200052]