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.0009753/0.0009752, allocations: 102.6 kB / 16.02 MB, free: 76 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.001114/0.001114, allocations: 184.8 kB / 16.92 MB, free: 6.688 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.462/1.462, allocations: 205.4 MB / 223.1 MB, free: 5.562 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.3558/0.3558, allocations: 43.57 MB / 315 MB, free: 9.066 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.0005242/0.0005242, allocations: 12 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1154, allocations: 58.87 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2218/0.3372, allocations: 45.35 MB / 488.9 MB, free: 23.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005111/0.3423, allocations: 4.479 MB / 493.4 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008369/0.3432, allocations: 28.69 kB / 493.4 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.344, allocations: 264.6 kB / 493.7 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.3457, allocations: 0.8064 MB / 494.5 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.3476, allocations: 0.7964 MB / 495.3 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.3498, allocations: 2.662 MB / 497.9 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.3505, allocations: 402.5 kB / 498.3 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.08938/0.4399, allocations: 43.33 MB / 0.529 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01636/0.4563, allocations: 7.951 MB / 0.5367 GB, free: 368 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.4566, allocations: 36 kB / 0.5368 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02059/0.4772, allocations: 10.63 MB / 0.5471 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005322/0.4777, allocations: 231.2 kB / 0.5474 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.4783, allocations: 387.9 kB / 0.5477 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.4797, allocations: 1.043 MB / 0.5488 GB, free: 3.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.4797, allocations: 0 / 0.5488 GB, free: 3.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4797, allocations: 0 / 0.5488 GB, free: 3.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.4798, allocations: 0 / 0.5488 GB, free: 3.906 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.001882/0.4816, allocations: 0.9153 MB / 0.5497 GB, free: 2.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4817, allocations: 15.97 kB / 0.5497 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.4818, allocations: 94.7 kB / 0.5498 GB, free: 2.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/0.4822, allocations: 96.08 kB / 0.5498 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.4829, allocations: 0.4976 MB / 0.5503 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-05/0.483, allocations: 97.16 kB / 0.5504 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-05/0.4831, allocations: 55.92 kB / 0.5505 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.4846, allocations: 0.8252 MB / 0.5513 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.4846, allocations: 11.89 kB / 0.5513 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.4847, allocations: 24 kB / 0.5513 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.827e-05/0.4848, allocations: 36.98 kB / 0.5514 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.4859, allocations: 0.6438 MB / 0.552 GB, free: 432 kB / 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.004964/0.4909, allocations: 4.217 MB / 0.5561 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008755/0.4917, allocations: 416 kB / 0.5565 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.4921, allocations: 209.4 kB / 0.5567 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.4927, allocations: 0.4951 MB / 0.5572 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.4927, allocations: 46.83 kB / 0.5572 GB, free: 10.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 3.026e-06/0.4927, allocations: 0 / 0.5572 GB, free: 10.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003325/0.4961, allocations: 1.534 MB / 0.5587 GB, free: 9.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.4962, allocations: 136.5 kB / 0.5589 GB, free: 8.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/0.4968, allocations: 0.5693 MB / 0.5594 GB, free: 8.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.4969, allocations: 33.7 kB / 0.5594 GB, free: 8.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.4972, allocations: 354.9 kB / 0.5598 GB, free: 7.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.4974, allocations: 165.7 kB / 0.5599 GB, free: 7.742 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.4975, allocations: 65.69 kB / 0.56 GB, free: 7.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4977, allocations: 374.7 kB / 0.5604 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.4981, allocations: 229.9 kB / 0.5606 GB, free: 7.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.4987, allocations: 0.5162 MB / 0.5611 GB, free: 6.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.4997, allocations: 0.7796 MB / 0.5618 GB, free: 5.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4997, allocations: 4 kB / 0.5618 GB, free: 5.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001856/0.5016, allocations: 0.9414 MB / 0.5628 GB, free: 4.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.5016, allocations: 8 kB / 0.5628 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.5017, allocations: 8 kB / 0.5628 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.5029, allocations: 276.7 kB / 0.563 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.5033, allocations: 123.8 kB / 0.5632 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.5045, allocations: 0.8656 MB / 0.564 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.5051, allocations: 43.92 kB / 0.5641 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.5052, allocations: 39.98 kB / 0.5641 GB, free: 3.176 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.0004065/0.5056, allocations: 245.6 kB / 0.5643 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.5057, allocations: 67.16 kB / 0.5644 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.5072, allocations: 0.7196 MB / 0.5651 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.5072, allocations: 4 kB / 0.5651 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5072, allocations: 3.938 kB / 0.5651 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5072, allocations: 3.984 kB / 0.5651 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.5095, allocations: 1.403 MB / 0.5665 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.5095, allocations: 4 kB / 0.5665 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.5105, allocations: 192 kB / 0.5667 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003161/0.5108, allocations: 64.72 kB / 0.5667 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/0.5109, allocations: 15.98 kB / 0.5667 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.5134, allocations: 2.785 MB / 0.5695 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.5134, allocations: 3.938 kB / 0.5695 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.5151, allocations: 1.007 MB / 0.5704 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.5154, allocations: 204.2 kB / 0.5706 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.664e-05/0.5155, allocations: 16 kB / 0.5707 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.5159, allocations: 27.89 kB / 0.5707 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.516, allocations: 40.02 kB / 0.5707 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.5161, allocations: 19.98 kB / 0.5707 GB, free: 11.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005793/0.5167, allocations: 423 kB / 0.5711 GB, free: 11.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5167, allocations: 0 / 0.5711 GB, free: 11.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008844/0.5176, allocations: 215.9 kB / 0.5713 GB, free: 11.31 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.00237/0.52, allocations: 1.681 MB / 0.573 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.5212, allocations: 0.5925 MB / 0.5736 GB, free: 8.996 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/0.5213, allocations: 4 kB / 0.5736 GB, free: 8.992 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.5224, allocations: 491.3 kB / 0.574 GB, free: 8.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.5243, allocations: 349.2 kB / 0.5744 GB, free: 8.164 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.5345, allocations: 7.044 MB / 0.5813 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.5351, allocations: 0.9346 MB / 0.5822 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007904/0.5359, allocations: 214.7 kB / 0.5824 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.5362, allocations: 231.4 kB / 0.5826 GB, free: 15.34 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5362, allocations: 0 / 0.5826 GB, free: 15.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.5741, allocations: 20.94 MB / 0.603 GB, free: 10.43 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003754/0.5746, allocations: 306.3 kB / 0.6033 GB, free: 10.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.925, allocations: 0 / 0.6033 GB, free: 10.05 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