Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 204.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 222.6 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3535/0.3535, allocations: 43.5 MB / 313.5 MB, free: 8.305 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.91 kB / 382.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1458, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.286/0.4319, allocations: 46.36 MB / 486.3 MB, free: 23.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00538/0.4373, allocations: 4.529 MB / 490.8 MB, free: 19.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.438, allocations: 25.16 kB / 490.8 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008676/0.4389, allocations: 275.1 kB / 491.1 MB, free: 19.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.4405, allocations: 0.811 MB / 491.9 MB, free: 19.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.4426, allocations: 0.7893 MB / 492.7 MB, free: 18.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00226/0.4449, allocations: 2.667 MB / 495.4 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005989/0.4455, allocations: 399.5 kB / 495.8 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1063/0.5518, allocations: 43.33 MB / 0.5265 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01884/0.5707, allocations: 7.955 MB / 0.5342 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.571, allocations: 32 kB / 0.5343 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02535/0.5964, allocations: 10.63 MB / 0.5446 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006327/0.597, allocations: 239.3 kB / 0.5449 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007145/0.5978, allocations: 366.2 kB / 0.5452 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.5993, allocations: 1.048 MB / 0.5462 GB, free: 4.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5994, allocations: 4 kB / 0.5462 GB, free: 4.141 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.5994, allocations: 0 / 0.5462 GB, free: 4.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.5994, allocations: 0 / 0.5462 GB, free: 4.141 MB / 414.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.002261/0.6017, allocations: 1.052 MB / 0.5473 GB, free: 3.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.6017, allocations: 11.97 kB / 0.5473 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.6019, allocations: 102.7 kB / 0.5474 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.6022, allocations: 95.98 kB / 0.5475 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00076/0.603, allocations: 0.4977 MB / 0.548 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.6031, allocations: 105.1 kB / 0.5481 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.6032, allocations: 55.84 kB / 0.5481 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.6045, allocations: 0.8213 MB / 0.5489 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6045, allocations: 3.938 kB / 0.5489 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/0.6046, allocations: 23.98 kB / 0.5489 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/0.6047, allocations: 40.97 kB / 0.549 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009985/0.6057, allocations: 0.6478 MB / 0.5496 GB, free: 0.5078 MB / 414.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.004832/0.6105, allocations: 4.213 MB / 0.5537 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/0.6114, allocations: 423.2 kB / 0.5541 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.6117, allocations: 209.4 kB / 0.5543 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005238/0.6122, allocations: 0.4989 MB / 0.5548 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.6123, allocations: 42.83 kB / 0.5549 GB, free: 10.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.6123, allocations: 4 kB / 0.5549 GB, free: 10.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.00341/0.6157, allocations: 1.518 MB / 0.5563 GB, free: 9.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.6158, allocations: 132.5 kB / 0.5565 GB, free: 8.984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007012/0.6165, allocations: 0.5693 MB / 0.557 GB, free: 8.406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.6166, allocations: 37.7 kB / 0.5571 GB, free: 8.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.6169, allocations: 358.9 kB / 0.5574 GB, free: 8.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.617, allocations: 165.7 kB / 0.5576 GB, free: 7.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.6172, allocations: 134.5 kB / 0.5577 GB, free: 7.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.6174, allocations: 378.7 kB / 0.5581 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.6178, allocations: 225.9 kB / 0.5583 GB, free: 7.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.6184, allocations: 0.5201 MB / 0.5588 GB, free: 6.445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009913/0.6194, allocations: 0.7757 MB / 0.5595 GB, free: 5.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6194, allocations: 4 kB / 0.5595 GB, free: 5.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001729/0.6211, allocations: 0.9444 MB / 0.5605 GB, free: 4.586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.6212, allocations: 9 kB / 0.5605 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.6212, allocations: 8 kB / 0.5605 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.6223, allocations: 270.8 kB / 0.5607 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.6227, allocations: 127.8 kB / 0.5609 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009582/0.6237, allocations: 0.8567 MB / 0.5617 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.6242, allocations: 47.98 kB / 0.5617 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/0.6243, allocations: 35.98 kB / 0.5618 GB, free: 3.215 MB / 430.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.0003502/0.6247, allocations: 245.3 kB / 0.562 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.6248, allocations: 71.16 kB / 0.5621 GB, free: 2.898 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.6261, allocations: 0.7212 MB / 0.5628 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.6262, allocations: 8 kB / 0.5628 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.6262, allocations: 4 kB / 0.5628 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.6262, allocations: 3.984 kB / 0.5628 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.6283, allocations: 1.403 MB / 0.5642 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6283, allocations: 3.938 kB / 0.5642 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009186/0.6292, allocations: 191.8 kB / 0.5644 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000242/0.6295, allocations: 57 kB / 0.5644 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.6295, allocations: 16 kB / 0.5644 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.6317, allocations: 2.786 MB / 0.5671 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6317, allocations: 3.938 kB / 0.5671 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.6332, allocations: 0.9918 MB / 0.5681 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.6335, allocations: 204.2 kB / 0.5683 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/0.6336, allocations: 8 kB / 0.5683 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.634, allocations: 39.97 kB / 0.5684 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.6341, allocations: 31.95 kB / 0.5684 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.6341, allocations: 19.98 kB / 0.5684 GB, free: 11.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004714/0.6346, allocations: 423.1 kB / 0.5688 GB, free: 11.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6346, allocations: 0 / 0.5688 GB, free: 11.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007563/0.6354, allocations: 204 kB / 0.569 GB, free: 11.38 MB / 446.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.002059/0.6375, allocations: 1.692 MB / 0.5707 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.6386, allocations: 0.5971 MB / 0.5712 GB, free: 9.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6386, allocations: 0 / 0.5712 GB, free: 9.051 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.6398, allocations: 490.5 kB / 0.5717 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.6414, allocations: 356.3 kB / 0.572 GB, free: 8.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009825/0.6512, allocations: 6.954 MB / 0.5788 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.6518, allocations: 0.9462 MB / 0.5798 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008142/0.6526, allocations: 206.8 kB / 0.58 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.653, allocations: 231.4 kB / 0.5802 GB, free: 15.49 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/0.653, allocations: 0 / 0.5802 GB, free: 15.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/0.696, allocations: 21.13 MB / 0.6008 GB, free: 10.35 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/0.6963, allocations: 306.9 kB / 0.6011 GB, free: 9.969 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.884, allocations: 4 kB / 0.6011 GB, free: 9.965 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches