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.001324/0.001324, allocations: 98.92 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.628/1.628, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2107/0.2107, allocations: 43.53 MB / 313.6 MB, free: 0.6953 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.001452/0.001452, allocations: 68.56 kB / 382.3 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 57.78 MB / 440.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04704/0.1544, allocations: 44.58 MB / 484.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006493/0.161, allocations: 4.468 MB / 489.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008154/0.1618, allocations: 23.81 kB / 489.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008621/0.1627, allocations: 278.5 kB / 489.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.1646, allocations: 0.797 MB / 490.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.1666, allocations: 0.8296 MB / 491.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.1684, allocations: 1.801 MB / 492.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005701/0.169, allocations: 453.3 kB / 493.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.08577/0.2548, allocations: 43.96 MB / 0.5247 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2161/0.4709, allocations: 7.989 MB / 0.5325 GB, free: 48.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004271/0.4714, allocations: 59.44 kB / 0.5325 GB, free: 48.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0333/0.5047, allocations: 10.7 MB / 0.543 GB, free: 45.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006465/0.5054, allocations: 261.4 kB / 0.5432 GB, free: 45.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000914/0.5063, allocations: 396.3 kB / 0.5436 GB, free: 45.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.5087, allocations: 1.072 MB / 0.5447 GB, free: 45.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5087, allocations: 0 / 0.5447 GB, free: 45.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5088, allocations: 4 kB / 0.5447 GB, free: 45.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.584e-05/0.5088, allocations: 3.609 kB / 0.5447 GB, free: 45.48 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.003951/0.5128, allocations: 1.043 MB / 0.5457 GB, free: 44.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.5129, allocations: 12.83 kB / 0.5457 GB, free: 44.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002132/0.5131, allocations: 103.4 kB / 0.5458 GB, free: 44.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006752/0.5138, allocations: 87.25 kB / 0.5459 GB, free: 44.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.5151, allocations: 0.505 MB / 0.5464 GB, free: 44.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.5152, allocations: 104.2 kB / 0.5465 GB, free: 44.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.5154, allocations: 54.28 kB / 0.5465 GB, free: 44.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.5174, allocations: 0.8177 MB / 0.5473 GB, free: 44.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.5175, allocations: 1.5 kB / 0.5473 GB, free: 44.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.5176, allocations: 28.58 kB / 0.5474 GB, free: 44.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.5178, allocations: 41.8 kB / 0.5474 GB, free: 44.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.5198, allocations: 0.6435 MB / 0.548 GB, free: 44.35 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.006496/0.5263, allocations: 4.226 MB / 0.5522 GB, free: 41.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.5276, allocations: 417.7 kB / 0.5526 GB, free: 41.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.528, allocations: 216 kB / 0.5528 GB, free: 41.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005245/0.5286, allocations: 0.4922 MB / 0.5532 GB, free: 40.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.5286, allocations: 42.75 kB / 0.5533 GB, free: 40.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.216e-06/0.5287, allocations: 0 / 0.5533 GB, free: 40.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.004754/0.5334, allocations: 1.525 MB / 0.5548 GB, free: 40.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.5335, allocations: 135.4 kB / 0.5549 GB, free: 40.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009807/0.5345, allocations: 0.5653 MB / 0.5554 GB, free: 40.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/0.5346, allocations: 36.27 kB / 0.5555 GB, free: 40.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.5348, allocations: 358.2 kB / 0.5558 GB, free: 39.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.535, allocations: 162.8 kB / 0.556 GB, free: 39.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.5353, allocations: 139.3 kB / 0.5561 GB, free: 39.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.5354, allocations: 381.5 kB / 0.5565 GB, free: 39.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/0.5359, allocations: 225.3 kB / 0.5567 GB, free: 39.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006314/0.5365, allocations: 0.5189 MB / 0.5572 GB, free: 39.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.5377, allocations: 0.7793 MB / 0.558 GB, free: 38.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.5377, allocations: 2.562 kB / 0.558 GB, free: 38.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001954/0.5397, allocations: 0.9308 MB / 0.5589 GB, free: 38.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.5397, allocations: 10.5 kB / 0.5589 GB, free: 38.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.5397, allocations: 12.69 kB / 0.5589 GB, free: 38.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.5408, allocations: 281.3 kB / 0.5592 GB, free: 38.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.5413, allocations: 120.1 kB / 0.5593 GB, free: 38.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.5423, allocations: 0.872 MB / 0.5601 GB, free: 38.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009073/0.5433, allocations: 40.61 kB / 0.5602 GB, free: 38.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5434, allocations: 41.59 kB / 0.5602 GB, free: 38.18 MB / 414.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.0005157/0.5439, allocations: 243.8 kB / 0.5604 GB, free: 38.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.5442, allocations: 62.62 kB / 0.5605 GB, free: 38.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.5458, allocations: 0.7155 MB / 0.5612 GB, free: 37.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.5458, allocations: 8.906 kB / 0.5612 GB, free: 37.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5459, allocations: 3.281 kB / 0.5612 GB, free: 37.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.5459, allocations: 3.922 kB / 0.5612 GB, free: 37.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.5479, allocations: 1.401 MB / 0.5626 GB, free: 37.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5479, allocations: 3.812 kB / 0.5626 GB, free: 37.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009752/0.5489, allocations: 194.3 kB / 0.5628 GB, free: 37.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/0.5492, allocations: 58.56 kB / 0.5628 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.5493, allocations: 17.86 kB / 0.5628 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.551, allocations: 2.984 MB / 0.5658 GB, free: 34.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.551, allocations: 3.031 kB / 0.5658 GB, free: 34.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.5523, allocations: 0.9899 MB / 0.5667 GB, free: 34.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.5527, allocations: 205.1 kB / 0.5669 GB, free: 34.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.5528, allocations: 13.88 kB / 0.5669 GB, free: 34.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.5533, allocations: 26.45 kB / 0.567 GB, free: 34.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.5534, allocations: 43.5 kB / 0.567 GB, free: 34.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.5535, allocations: 19.69 kB / 0.567 GB, free: 34.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004782/0.5539, allocations: 421.7 kB / 0.5674 GB, free: 34.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.554, allocations: 4 kB / 0.5674 GB, free: 34.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008682/0.5548, allocations: 205.9 kB / 0.5676 GB, free: 34.28 MB / 414.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.001981/0.5568, allocations: 1.678 MB / 0.5693 GB, free: 33.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.5581, allocations: 0.6697 MB / 0.5699 GB, free: 33.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.5581, allocations: 4 kB / 0.5699 GB, free: 33.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.5592, allocations: 485 kB / 0.5704 GB, free: 33.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.5609, allocations: 377 kB / 0.5707 GB, free: 33.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008993/0.5699, allocations: 6.949 MB / 0.5775 GB, free: 28.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.5703, allocations: 0.9424 MB / 0.5784 GB, free: 27.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008431/0.5712, allocations: 208.2 kB / 0.5786 GB, free: 27.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.5715, allocations: 231.4 kB / 0.5789 GB, free: 27.46 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5715, allocations: 0 / 0.5789 GB, free: 27.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1473/0.7188, allocations: 21.71 MB / 0.6001 GB, free: 5.852 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.719, allocations: 319 kB / 0.6004 GB, free: 5.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.257, allocations: 0 / 0.6004 GB, free: 5.461 MB / 414.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