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.001597/0.001597, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001609/0.001609, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.409/1.409, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2148/0.2148, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.002118/0.002118, allocations: 80.06 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1211, allocations: 66.05 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3203/0.4414, allocations: 44.3 MB / 0.5994 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005582/0.447, allocations: 4.393 MB / 0.6037 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.4476, allocations: 26.69 kB / 0.6037 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008642/0.4485, allocations: 322.5 kB / 0.604 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.4504, allocations: 0.8704 MB / 0.6049 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.4529, allocations: 0.8859 MB / 0.6058 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.4556, allocations: 1.799 MB / 0.6075 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007919/0.4564, allocations: 414.4 kB / 0.6079 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0955/0.5519, allocations: 44.68 MB / 0.6516 GB, free: 9.738 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01816/0.5701, allocations: 8.033 MB / 0.6594 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.5703, allocations: 60 kB / 0.6595 GB, free: 1.664 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02477/0.5951, allocations: 10.7 MB / 0.6699 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005737/0.5957, allocations: 265.2 kB / 0.6702 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007538/0.5964, allocations: 400.1 kB / 0.6705 GB, free: 6.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.5983, allocations: 1.078 MB / 0.6716 GB, free: 5.246 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5983, allocations: 0 / 0.6716 GB, free: 5.246 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5983, allocations: 0 / 0.6716 GB, free: 5.246 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.5984, allocations: 0 / 0.6716 GB, free: 5.246 MB / 494.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.002235/0.6006, allocations: 1.074 MB / 0.6726 GB, free: 4.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.6006, allocations: 12.03 kB / 0.6726 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.597e-05/0.6007, allocations: 17.19 kB / 0.6727 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.6008, allocations: 98.22 kB / 0.6728 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.6012, allocations: 92.45 kB / 0.6728 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/0.602, allocations: 0.5318 MB / 0.6734 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.6022, allocations: 104.9 kB / 0.6735 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.6023, allocations: 51.94 kB / 0.6735 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.6036, allocations: 0.8179 MB / 0.6743 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.6036, allocations: 0 / 0.6743 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/0.6037, allocations: 26.89 kB / 0.6743 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.6e-05/0.6038, allocations: 40.92 kB / 0.6744 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.6049, allocations: 0.6439 MB / 0.675 GB, free: 1.598 MB / 494.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.005238/0.6102, allocations: 4.22 MB / 0.6791 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009357/0.6111, allocations: 396 kB / 0.6795 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.6114, allocations: 198.8 kB / 0.6797 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006138/0.612, allocations: 0.5018 MB / 0.6802 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.6121, allocations: 34.89 kB / 0.6802 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.6121, allocations: 4 kB / 0.6802 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003451/0.6155, allocations: 1.549 MB / 0.6817 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.6156, allocations: 140.5 kB / 0.6819 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/0.6164, allocations: 0.5694 MB / 0.6824 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.6165, allocations: 33.7 kB / 0.6825 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.6168, allocations: 354.7 kB / 0.6828 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.617, allocations: 173.2 kB / 0.683 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.6172, allocations: 138.6 kB / 0.6831 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.6174, allocations: 378.7 kB / 0.6835 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.6178, allocations: 225.9 kB / 0.6837 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.6185, allocations: 0.5204 MB / 0.6842 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.6196, allocations: 0.7757 MB / 0.6849 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.6196, allocations: 7.938 kB / 0.6849 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001843/0.6215, allocations: 0.9294 MB / 0.6858 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.6215, allocations: 12 kB / 0.6859 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.6215, allocations: 8.844 kB / 0.6859 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.6227, allocations: 269.2 kB / 0.6861 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.6231, allocations: 127.8 kB / 0.6862 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.6241, allocations: 0.862 MB / 0.6871 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.6246, allocations: 33.98 kB / 0.6871 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.6246, allocations: 36 kB / 0.6872 GB, free: 4.348 MB / 0.4981 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.0003539/0.625, allocations: 241.7 kB / 0.6874 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.6251, allocations: 71.58 kB / 0.6875 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.6265, allocations: 0.7171 MB / 0.6882 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.6265, allocations: 9.859 kB / 0.6882 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6265, allocations: 0 / 0.6882 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.6265, allocations: 0 / 0.6882 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.6287, allocations: 1.399 MB / 0.6895 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6287, allocations: 0 / 0.6895 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009812/0.6297, allocations: 195.7 kB / 0.6897 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002536/0.63, allocations: 57 kB / 0.6898 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.63, allocations: 12 kB / 0.6898 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002674/0.6327, allocations: 2.989 MB / 0.6927 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6327, allocations: 4.031 kB / 0.6927 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.6343, allocations: 1.002 MB / 0.6937 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.6346, allocations: 198.7 kB / 0.6939 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.701e-05/0.6347, allocations: 20.06 kB / 0.6939 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.6351, allocations: 19.97 kB / 0.6939 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.6352, allocations: 35.89 kB / 0.6939 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.6352, allocations: 23.98 kB / 0.694 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000535/0.6357, allocations: 423 kB / 0.6944 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6357, allocations: 0 / 0.6944 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000763/0.6365, allocations: 203.9 kB / 0.6946 GB, free: 12.35 MB / 0.5137 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.002156/0.6387, allocations: 1.664 MB / 0.6962 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.6399, allocations: 0.5839 MB / 0.6968 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6399, allocations: 1.5 kB / 0.6968 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.6411, allocations: 474.8 kB / 0.6972 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.6428, allocations: 379.2 kB / 0.6976 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009585/0.6524, allocations: 6.536 MB / 0.704 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.653, allocations: 0.9346 MB / 0.7049 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006559/0.6537, allocations: 208.9 kB / 0.7051 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.654, allocations: 231.4 kB / 0.7053 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.654, allocations: 4 kB / 0.7053 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05155/0.7056, allocations: 22.26 MB / 0.727 GB, free: 10.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.59, allocations: 11.75 kB / 0.727 GB, free: 10.95 MB / 0.545 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: 16.836245859973133]