Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.001317/0.001317, allocations: 114 kB / 20.43 MB, free: 1.457 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.001419/0.001419, allocations: 215.4 kB / 23.74 MB, free: 4.672 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.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.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.238/0.238, allocations: 46.92 MB / 360.8 MB, free: 4.156 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 83.86 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3263, allocations: 66.08 MB / 0.5607 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05814/0.3844, allocations: 44.62 MB / 0.6043 GB, free: 7.477 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007489/0.3919, allocations: 4.421 MB / 0.6086 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.3927, allocations: 27.75 kB / 0.6087 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.3939, allocations: 326 kB / 0.609 GB, free: 2.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.3963, allocations: 0.8862 MB / 0.6098 GB, free: 1.805 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.3988, allocations: 0.9245 MB / 0.6107 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002579/0.4014, allocations: 1.813 MB / 0.6125 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008297/0.4023, allocations: 397.6 kB / 0.6129 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1034/0.5056, allocations: 44.26 MB / 0.6561 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01731/0.523, allocations: 7.939 MB / 0.6639 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002664/0.5232, allocations: 60 kB / 0.6639 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02325/0.5465, allocations: 10.61 MB / 0.6743 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005588/0.547, allocations: 263.2 kB / 0.6745 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007629/0.5478, allocations: 386.2 kB / 0.6749 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.5498, allocations: 1.102 MB / 0.676 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5498, allocations: 0 / 0.676 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5498, allocations: 0 / 0.676 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.706e-05/0.5498, allocations: 0 / 0.676 GB, free: 13.45 MB / 0.5137 GB 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.002632/0.5524, allocations: 0.9873 MB / 0.6769 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.5525, allocations: 12.03 kB / 0.6769 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.5526, allocations: 98.7 kB / 0.677 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.553, allocations: 104.3 kB / 0.6771 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.5541, allocations: 474.7 kB / 0.6776 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.5542, allocations: 156.4 kB / 0.6777 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-05/0.5543, allocations: 51.92 kB / 0.6778 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.5557, allocations: 0.8175 MB / 0.6786 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.5557, allocations: 3.938 kB / 0.6786 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.5558, allocations: 24 kB / 0.6786 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/0.5559, allocations: 36.98 kB / 0.6787 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.5571, allocations: 0.64 MB / 0.6793 GB, free: 9.895 MB / 0.5137 GB 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.005482/0.5626, allocations: 4.174 MB / 0.6834 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009376/0.5635, allocations: 398.3 kB / 0.6837 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.5638, allocations: 193.4 kB / 0.6839 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.5641, allocations: 52.3 kB / 0.684 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.5642, allocations: 34.89 kB / 0.684 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.385e-06/0.5642, allocations: 0 / 0.684 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003487/0.5677, allocations: 1.471 MB / 0.6854 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.154e-05/0.5678, allocations: 132.5 kB / 0.6856 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/0.5686, allocations: 0.5694 MB / 0.6861 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/0.5687, allocations: 37.7 kB / 0.6862 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.569, allocations: 359.9 kB / 0.6865 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.5692, allocations: 174.5 kB / 0.6867 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.5694, allocations: 138.6 kB / 0.6868 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.5696, allocations: 382.7 kB / 0.6872 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.57, allocations: 229.8 kB / 0.6874 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.5707, allocations: 0.5172 MB / 0.6879 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.5718, allocations: 0.7833 MB / 0.6887 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.5718, allocations: 4 kB / 0.6887 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001952/0.5738, allocations: 0.9297 MB / 0.6896 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.5738, allocations: 12 kB / 0.6896 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.5738, allocations: 8 kB / 0.6896 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.575, allocations: 273.2 kB / 0.6898 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.5754, allocations: 131.8 kB / 0.69 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.5766, allocations: 0.8606 MB / 0.6908 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.5771, allocations: 24 kB / 0.6908 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.5772, allocations: 36 kB / 0.6909 GB, free: 13.31 MB / 0.5294 GB 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.0004059/0.5776, allocations: 251.5 kB / 0.6911 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.5777, allocations: 71.58 kB / 0.6912 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.5793, allocations: 0.7116 MB / 0.6919 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.5793, allocations: 4 kB / 0.6919 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5793, allocations: 3.938 kB / 0.6919 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5793, allocations: 4 kB / 0.6919 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.582, allocations: 1.383 MB / 0.6932 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.582, allocations: 0 / 0.6932 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009739/0.583, allocations: 191.8 kB / 0.6934 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.5832, allocations: 56.78 kB / 0.6935 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/0.5833, allocations: 16.12 kB / 0.6935 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/0.586, allocations: 2.781 MB / 0.6962 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.586, allocations: 4.031 kB / 0.6962 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.5878, allocations: 1.005 MB / 0.6972 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.5882, allocations: 131.4 kB / 0.6973 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.5883, allocations: 8 kB / 0.6973 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.5887, allocations: 19.98 kB / 0.6973 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.5888, allocations: 39.94 kB / 0.6974 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/0.5889, allocations: 19.98 kB / 0.6974 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005945/0.5895, allocations: 427 kB / 0.6978 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5895, allocations: 0 / 0.6978 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008949/0.5903, allocations: 207.8 kB / 0.698 GB, free: 5.645 MB / 0.5294 GB 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.002403/0.5928, allocations: 1.66 MB / 0.6996 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.5941, allocations: 0.581 MB / 0.7002 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5941, allocations: 0 / 0.7002 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.5953, allocations: 475 kB / 0.7006 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.5971, allocations: 386 kB / 0.701 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.6079, allocations: 6.558 MB / 0.7074 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.6087, allocations: 0.9345 MB / 0.7083 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007388/0.6094, allocations: 207.5 kB / 0.7085 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.6098, allocations: 231.4 kB / 0.7087 GB, free: 10.18 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.6098, allocations: 0 / 0.7087 GB, free: 10.18 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06562/0.6754, allocations: 22.78 MB / 0.731 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.9, allocations: 11.84 kB / 0.731 GB, free: 3.582 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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: 18.199937890050933]