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.001271/0.001271, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001375/0.001375, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.38/1.38, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2125/0.2125, allocations: 46.93 MB / 361.6 MB, free: 4.16 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 79.88 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2932, allocations: 66.08 MB / 0.5615 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04941/0.3426, allocations: 44.61 MB / 0.6051 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006308/0.3489, allocations: 4.421 MB / 0.6094 GB, free: 3.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005757/0.3495, allocations: 31.75 kB / 0.6094 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008579/0.3504, allocations: 322 kB / 0.6097 GB, free: 2.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.3523, allocations: 0.8862 MB / 0.6106 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.3545, allocations: 0.9178 MB / 0.6115 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002342/0.3569, allocations: 1.823 MB / 0.6133 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007122/0.3576, allocations: 393.6 kB / 0.6137 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09338/0.451, allocations: 44.26 MB / 0.6569 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01713/0.4681, allocations: 7.936 MB / 0.6646 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002758/0.4684, allocations: 63.94 kB / 0.6647 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02343/0.4918, allocations: 10.6 MB / 0.675 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005284/0.4924, allocations: 267.2 kB / 0.6753 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007303/0.4931, allocations: 390.2 kB / 0.6757 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.495, allocations: 1.094 MB / 0.6767 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4951, allocations: 0 / 0.6767 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4951, allocations: 4 kB / 0.6767 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.005e-05/0.4951, allocations: 0 / 0.6767 GB, free: 13.47 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.002603/0.4977, allocations: 0.9989 MB / 0.6777 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4977, allocations: 8.031 kB / 0.6777 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.759e-05/0.4978, allocations: 13.19 kB / 0.6777 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.4979, allocations: 98.7 kB / 0.6778 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.4983, allocations: 96.45 kB / 0.6779 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.4993, allocations: 478.7 kB / 0.6784 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.4995, allocations: 156.1 kB / 0.6785 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4996, allocations: 59.95 kB / 0.6786 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.501, allocations: 0.8168 MB / 0.6794 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.501, allocations: 0 / 0.6794 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.501, allocations: 23.98 kB / 0.6794 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-05/0.5011, allocations: 36.98 kB / 0.6794 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.5023, allocations: 0.6517 MB / 0.6801 GB, free: 9.891 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.005381/0.5076, allocations: 4.162 MB / 0.6841 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009472/0.5086, allocations: 402.2 kB / 0.6845 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.5089, allocations: 193.4 kB / 0.6847 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/0.5092, allocations: 52.28 kB / 0.6848 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.5093, allocations: 38.83 kB / 0.6848 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.756e-06/0.5093, allocations: 0 / 0.6848 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003475/0.5127, allocations: 1.468 MB / 0.6862 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.5128, allocations: 136.5 kB / 0.6864 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.5135, allocations: 0.5694 MB / 0.6869 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/0.5136, allocations: 33.7 kB / 0.6869 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.5139, allocations: 371.8 kB / 0.6873 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.514, allocations: 170.5 kB / 0.6875 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.5142, allocations: 142.6 kB / 0.6876 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5144, allocations: 378.7 kB / 0.688 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.5148, allocations: 221.9 kB / 0.6882 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.5154, allocations: 0.5172 MB / 0.6887 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.5165, allocations: 0.7796 MB / 0.6894 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5165, allocations: 4 kB / 0.6894 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001753/0.5182, allocations: 0.9337 MB / 0.6903 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5183, allocations: 10.34 kB / 0.6904 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5183, allocations: 12 kB / 0.6904 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.5193, allocations: 261.1 kB / 0.6906 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.5197, allocations: 131.8 kB / 0.6907 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009926/0.5207, allocations: 0.8606 MB / 0.6916 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.5212, allocations: 27.98 kB / 0.6916 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.5212, allocations: 36 kB / 0.6916 GB, free: 13.32 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.0003341/0.5216, allocations: 250.1 kB / 0.6919 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5217, allocations: 71.64 kB / 0.692 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.523, allocations: 0.709 MB / 0.6926 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.523, allocations: 15.92 kB / 0.6927 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.523, allocations: 0 / 0.6927 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.523, allocations: 7.938 kB / 0.6927 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.5252, allocations: 1.371 MB / 0.694 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.5252, allocations: 4 kB / 0.694 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009415/0.5261, allocations: 187.8 kB / 0.6942 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.5264, allocations: 64.75 kB / 0.6943 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.5264, allocations: 20.03 kB / 0.6943 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.5288, allocations: 2.773 MB / 0.697 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5288, allocations: 7.922 kB / 0.697 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.5303, allocations: 1.005 MB / 0.698 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.5306, allocations: 131.5 kB / 0.6981 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/0.5307, allocations: 16 kB / 0.6981 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.5311, allocations: 12 kB / 0.6981 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.5312, allocations: 51.86 kB / 0.6982 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.5312, allocations: 16 kB / 0.6982 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005234/0.5317, allocations: 419 kB / 0.6986 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5317, allocations: 0 / 0.6986 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007469/0.5325, allocations: 211.9 kB / 0.6988 GB, free: 5.648 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.002163/0.5346, allocations: 1.662 MB / 0.7004 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.5358, allocations: 0.5734 MB / 0.701 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5358, allocations: 0 / 0.701 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.5369, allocations: 482.8 kB / 0.7014 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.5386, allocations: 371.7 kB / 0.7018 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009584/0.5482, allocations: 6.558 MB / 0.7082 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.5488, allocations: 0.9345 MB / 0.7091 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006709/0.5494, allocations: 210.6 kB / 0.7093 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.5498, allocations: 231.4 kB / 0.7095 GB, free: 10.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/0.5498, allocations: 0 / 0.7095 GB, free: 10.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05872/0.6085, allocations: 22.82 MB / 0.7318 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.16, allocations: 7.969 kB / 0.7318 GB, free: 3.57 MB / 0.5606 GB " [Timeout remaining time 646] (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: 17.485504759999458]