Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_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.0008683/0.0008684, allocations: 92.33 kB / 17.3 MB, free: 6.07 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.0009952/0.0009952, allocations: 180.2 kB / 18.21 MB, free: 5.395 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.538/1.538, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.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.0004515/0.0004515, allocations: 16 kB / 281.5 MB, free: 3.309 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 47.58 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0426/0.1437, allocations: 40.15 MB / 369.2 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.1461, allocations: 2.016 MB / 371.2 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.1463, allocations: 0 / 371.2 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.1468, allocations: 147.2 kB / 371.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005242/0.1474, allocations: 310.5 kB / 371.7 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.148, allocations: 255.6 kB / 371.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.1491, allocations: 1.301 MB / 373.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1493, allocations: 68.69 kB / 373.3 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2636/0.4129, allocations: 42.97 MB / 416.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.4135, allocations: 273.8 kB / 416.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.4135, allocations: 16 kB / 416.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.4137, allocations: 23.78 kB / 416.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.4138, allocations: 79.36 kB / 416.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.4139, allocations: 192.4 kB / 416.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.4143, allocations: 409.2 kB / 417.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4143, allocations: 0 / 417.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4143, allocations: 2.844 kB / 417.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.4143, allocations: 0 / 417.2 MB, free: 1.879 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007092/0.415, allocations: 0.5293 MB / 417.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4151, allocations: 8.031 kB / 417.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.257e-05/0.4151, allocations: 61.52 kB / 417.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.4154, allocations: 42.8 kB / 417.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.4157, allocations: 277.1 kB / 418.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.4157, allocations: 17.25 kB / 418.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.4158, allocations: 25.19 kB / 418.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.4162, allocations: 310.3 kB / 418.5 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4162, allocations: 7.594 kB / 418.5 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.4162, allocations: 14.69 kB / 418.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.4162, allocations: 8 kB / 418.5 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.4165, allocations: 191.7 kB / 418.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.4179, allocations: 1.429 MB / 420.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.4182, allocations: 183.8 kB / 420.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.4184, allocations: 88.89 kB / 420.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.4184, allocations: 4 kB / 420.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4185, allocations: 38.44 kB / 420.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.994e-06/0.4185, allocations: 3.922 kB / 420.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002284/0.4207, allocations: 1.003 MB / 421.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.4208, allocations: 55.41 kB / 421.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.421, allocations: 258.4 kB / 421.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.4211, allocations: 29.27 kB / 421.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.4212, allocations: 183.9 kB / 422 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.4213, allocations: 89.62 kB / 422.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.4213, allocations: 38.83 kB / 422.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4214, allocations: 335.7 kB / 422.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4216, allocations: 88.44 kB / 422.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.4218, allocations: 181.8 kB / 422.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.4221, allocations: 292.4 kB / 423 MB, free: 12.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.4221, allocations: 3.938 kB / 423 MB, free: 12.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006164/0.4228, allocations: 377.1 kB / 423.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4228, allocations: 8 kB / 423.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4228, allocations: 0 / 423.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.4231, allocations: 63.8 kB / 423.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.4233, allocations: 70.53 kB / 423.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.4254, allocations: 2.681 MB / 426.2 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.4256, allocations: 17.38 kB / 426.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.4257, allocations: 14.69 kB / 426.2 MB, free: 9.566 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.4258, allocations: 155.7 kB / 426.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.4259, allocations: 36.12 kB / 426.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.921e-05/0.426, allocations: 35.67 kB / 426.4 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.426, allocations: 4 kB / 426.4 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.426, allocations: 2.844 kB / 426.4 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005824/0.4266, allocations: 0.5693 MB / 427 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009238/0.4275, allocations: 0.7037 MB / 427.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4275, allocations: 0 / 427.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.4277, allocations: 43.08 kB / 427.7 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/0.428, allocations: 56.69 kB / 427.8 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.428, allocations: 11.97 kB / 427.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.4291, allocations: 1.393 MB / 429.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4291, allocations: 3.375 kB / 429.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.4298, allocations: 484.9 kB / 429.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.4299, allocations: 96.86 kB / 429.8 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.4299, allocations: 3.875 kB / 429.8 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.4301, allocations: 23.27 kB / 429.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.4302, allocations: 15.92 kB / 429.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.4302, allocations: 16.05 kB / 429.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.4304, allocations: 186.9 kB / 430 MB, free: 5.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4304, allocations: 0 / 430 MB, free: 5.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000369/0.4307, allocations: 88 kB / 430.1 MB, free: 5.902 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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): 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.0009113/0.4317, allocations: 1.01 MB / 431.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006848/0.4324, allocations: 469 kB / 431.6 MB, free: 4.398 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4324, allocations: 4 kB / 431.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.4327, allocations: 236.8 kB / 431.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009548/0.4337, allocations: 161.1 kB / 432 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.4373, allocations: 3.311 MB / 435.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4376, allocations: 0.7684 MB / 436 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.4379, allocations: 47.22 kB / 436.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.4381, allocations: 87.41 kB / 436.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of SimCode: time 1.814e-06/0.4381, allocations: 0 / 436.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.4577, allocations: 8.217 MB / 444.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/0.4579, allocations: 260.1 kB / 444.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.27, allocations: 4 kB / 444.6 MB, free: 7.156 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches