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.001165/0.001165, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001098/0.001098, allocations: 183 kB / 18.66 MB, free: 4.418 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.307/1.307, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001314/0.001314, allocations: 55.92 kB / 328.1 MB, free: 3.75 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08948, allocations: 46.61 MB / 374.7 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2212/0.3107, allocations: 39.26 MB / 413.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.3138, allocations: 2.036 MB / 416 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.3143, allocations: 3.281 kB / 416 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007199/0.315, allocations: 176.6 kB / 416.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008524/0.3159, allocations: 314.2 kB / 416.5 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.3167, allocations: 288.4 kB / 416.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.3179, allocations: 0.833 MB / 417.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.3182, allocations: 106.6 kB / 417.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1005/0.4187, allocations: 44.1 MB / 461.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006293/0.4194, allocations: 275.8 kB / 462 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.4196, allocations: 28 kB / 462.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.4198, allocations: 40 kB / 462.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.42, allocations: 95.64 kB / 462.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.4203, allocations: 175.3 kB / 462.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005701/0.4209, allocations: 434.6 kB / 462.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4209, allocations: 3.984 kB / 462.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4209, allocations: 4 kB / 462.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.4209, allocations: 0 / 462.8 MB, free: 7.324 MB / 382.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.001007/0.422, allocations: 0.5776 MB / 463.4 MB, free: 6.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.422, allocations: 8.031 kB / 463.4 MB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.427e-05/0.4221, allocations: 70.72 kB / 463.5 MB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.4224, allocations: 32.66 kB / 463.5 MB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.4228, allocations: 295.7 kB / 463.8 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.4229, allocations: 17.56 kB / 463.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.4229, allocations: 28.12 kB / 463.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.4234, allocations: 307.7 kB / 464.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4234, allocations: 0 / 464.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.4234, allocations: 12 kB / 464.1 MB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4235, allocations: 8 kB / 464.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.4238, allocations: 193.5 kB / 464.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.4255, allocations: 1.442 MB / 465.8 MB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.4258, allocations: 182.5 kB / 466 MB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.4259, allocations: 88.83 kB / 466 MB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.426, allocations: 8 kB / 466.1 MB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.426, allocations: 34.56 kB / 466.1 MB, free: 3.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.426, allocations: 0 / 466.1 MB, free: 3.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002481/0.4285, allocations: 1.004 MB / 467.1 MB, free: 2.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.4286, allocations: 51.41 kB / 467.1 MB, free: 2.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.4288, allocations: 262.5 kB / 467.4 MB, free: 2.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.4289, allocations: 33.7 kB / 467.4 MB, free: 2.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.429, allocations: 172.2 kB / 467.6 MB, free: 2.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.4291, allocations: 94.64 kB / 467.7 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4292, allocations: 69.61 kB / 467.8 MB, free: 1.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4293, allocations: 338.8 kB / 468.1 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4295, allocations: 79.97 kB / 468.2 MB, free: 1.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.4297, allocations: 186.8 kB / 468.3 MB, free: 1.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.43, allocations: 291 kB / 468.6 MB, free: 1.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4301, allocations: 0 / 468.6 MB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006385/0.4307, allocations: 382.7 kB / 469 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4307, allocations: 8 kB / 469 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4307, allocations: 0 / 469 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.431, allocations: 66.05 kB / 469.1 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.4313, allocations: 71.84 kB / 469.1 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.4335, allocations: 2.896 MB / 472 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.4338, allocations: 12 kB / 472.1 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.4338, allocations: 8 kB / 472.1 MB, free: 13.3 MB / 398.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.0001534/0.434, allocations: 155.2 kB / 472.2 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.434, allocations: 27.72 kB / 472.2 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/0.4341, allocations: 34.17 kB / 472.3 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4341, allocations: 4 kB / 472.3 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4341, allocations: 3.938 kB / 472.3 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005732/0.4347, allocations: 0.5591 MB / 472.8 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/0.4357, allocations: 0.6993 MB / 473.5 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4357, allocations: 4 kB / 473.5 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.4359, allocations: 49.17 kB / 473.6 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.4362, allocations: 56.69 kB / 473.6 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.4362, allocations: 8 kB / 473.7 MB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.4373, allocations: 1.488 MB / 475.1 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4373, allocations: 0 / 475.1 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.438, allocations: 480.7 kB / 475.6 MB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.4381, allocations: 96.86 kB / 475.7 MB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.4381, allocations: 7.984 kB / 475.7 MB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4383, allocations: 12.12 kB / 475.7 MB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.4384, allocations: 15.92 kB / 475.7 MB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.4384, allocations: 11.98 kB / 475.8 MB, free: 9.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.4386, allocations: 182 kB / 475.9 MB, free: 9.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4386, allocations: 0 / 475.9 MB, free: 9.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003996/0.439, allocations: 92 kB / 476 MB, free: 8.996 MB / 398.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.0009162/0.4399, allocations: 1.006 MB / 477 MB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007332/0.4407, allocations: 474 kB / 477.5 MB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4407, allocations: 0 / 477.5 MB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.4411, allocations: 238.9 kB / 477.7 MB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009019/0.442, allocations: 166.2 kB / 477.9 MB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.4458, allocations: 3.146 MB / 481 MB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.4461, allocations: 0.7684 MB / 481.8 MB, free: 2.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.4464, allocations: 54.92 kB / 481.9 MB, free: 2.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.4465, allocations: 87.41 kB / 481.9 MB, free: 2.816 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4465, allocations: 0 / 481.9 MB, free: 2.816 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.4806, allocations: 8.864 MB / 490.8 MB, free: 9.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.36, allocations: 3.938 kB / 490.8 MB, free: 9.887 MB / 414.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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