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.001688/0.001688, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001962/0.001962, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.51/1.51, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2389/0.2389, allocations: 46.95 MB / 360.8 MB, free: 3.941 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.002373/0.002373, allocations: 80.2 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3568, allocations: 66.08 MB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05238/0.4091, allocations: 39.81 MB / 0.5996 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006734/0.4159, allocations: 4.066 MB / 0.6035 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006428/0.4165, allocations: 31.69 kB / 0.6036 GB, free: 8.004 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.4175, allocations: 314 kB / 0.6039 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.4201, allocations: 0.8784 MB / 0.6047 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.423, allocations: 0.905 MB / 0.6056 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002485/0.4255, allocations: 1.813 MB / 0.6074 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009041/0.4264, allocations: 397.6 kB / 0.6078 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09978/0.5261, allocations: 44.19 MB / 0.6509 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01708/0.5432, allocations: 7.915 MB / 0.6587 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.5435, allocations: 63.94 kB / 0.6587 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02392/0.5675, allocations: 10.56 MB / 0.669 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006057/0.5681, allocations: 267.2 kB / 0.6693 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008013/0.5689, allocations: 334.6 kB / 0.6696 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.571, allocations: 1.078 MB / 0.6707 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.571, allocations: 0 / 0.6707 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.571, allocations: 0 / 0.6707 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.322e-05/0.571, allocations: 0 / 0.6707 GB, free: 2.68 MB / 0.4981 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.002478/0.5735, allocations: 0.9951 MB / 0.6716 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.5736, allocations: 8.031 kB / 0.6716 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.5737, allocations: 106.7 kB / 0.6717 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.5741, allocations: 96.47 kB / 0.6718 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.5751, allocations: 482.6 kB / 0.6723 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.5753, allocations: 156.3 kB / 0.6724 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5754, allocations: 51.94 kB / 0.6725 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.5771, allocations: 1.068 MB / 0.6735 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.5771, allocations: 3.938 kB / 0.6735 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.06e-05/0.5772, allocations: 27.98 kB / 0.6736 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.392e-05/0.5773, allocations: 36.98 kB / 0.6736 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.5785, allocations: 0.6478 MB / 0.6742 GB, free: 14.79 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.005009/0.5835, allocations: 3.402 MB / 0.6775 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009169/0.5844, allocations: 396 kB / 0.6779 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.5848, allocations: 193.4 kB / 0.6781 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.5851, allocations: 48.28 kB / 0.6782 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.5851, allocations: 38.89 kB / 0.6782 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.5851, allocations: 0 / 0.6782 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003322/0.5884, allocations: 1.464 MB / 0.6796 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.5885, allocations: 132.5 kB / 0.6797 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.5893, allocations: 0.5848 MB / 0.6803 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.5893, allocations: 29.7 kB / 0.6803 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.5896, allocations: 371.8 kB / 0.6807 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.5898, allocations: 170.6 kB / 0.6809 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.59, allocations: 142.6 kB / 0.681 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.5902, allocations: 374.7 kB / 0.6814 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004176/0.5906, allocations: 225.9 kB / 0.6816 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.5913, allocations: 0.5964 MB / 0.6822 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.5925, allocations: 0.7833 MB / 0.6829 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.5925, allocations: 4 kB / 0.6829 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001892/0.5944, allocations: 0.9341 MB / 0.6838 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5944, allocations: 8 kB / 0.6838 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.5944, allocations: 11.94 kB / 0.6839 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.5955, allocations: 268.6 kB / 0.6841 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.5959, allocations: 127.8 kB / 0.6842 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.597, allocations: 0.8595 MB / 0.6851 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.5975, allocations: 24.05 kB / 0.6851 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.5975, allocations: 40 kB / 0.6851 GB, free: 3.047 MB / 0.5137 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.0003496/0.5979, allocations: 246.1 kB / 0.6854 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.598, allocations: 71.56 kB / 0.6854 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.5994, allocations: 0.7116 MB / 0.6861 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5994, allocations: 4 kB / 0.6861 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.5995, allocations: 4 kB / 0.6861 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5995, allocations: 3.984 kB / 0.6861 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.6018, allocations: 1.301 MB / 0.6874 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.6018, allocations: 8 kB / 0.6874 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/0.6028, allocations: 192 kB / 0.6876 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000255/0.603, allocations: 56.78 kB / 0.6877 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.6031, allocations: 16 kB / 0.6877 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002682/0.6057, allocations: 2.773 MB / 0.6904 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.6057, allocations: 4 kB / 0.6904 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.6074, allocations: 1.005 MB / 0.6914 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.6078, allocations: 127.5 kB / 0.6915 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.608, allocations: 15.98 kB / 0.6915 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.6084, allocations: 8 kB / 0.6915 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.6085, allocations: 47.81 kB / 0.6916 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/0.6085, allocations: 19.98 kB / 0.6916 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006023/0.6091, allocations: 423 kB / 0.692 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6091, allocations: 0 / 0.692 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008525/0.61, allocations: 207.9 kB / 0.6922 GB, free: 11.46 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.002404/0.6124, allocations: 1.681 MB / 0.6938 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.6137, allocations: 0.5726 MB / 0.6944 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6137, allocations: 0 / 0.6944 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6149, allocations: 479.6 kB / 0.6948 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.6166, allocations: 376.1 kB / 0.6952 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.628, allocations: 6.542 MB / 0.7016 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.6286, allocations: 341.4 kB / 0.7019 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001113/0.6297, allocations: 210.1 kB / 0.7021 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/0.6302, allocations: 231.4 kB / 0.7023 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.6302, allocations: 0 / 0.7023 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09906/0.7293, allocations: 23.57 MB / 0.7254 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.23, allocations: 4.062 kB / 0.7254 GB, free: 9.379 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.710074024274945]