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.001121/0.001121, allocations: 104.2 kB / 17.58 MB, free: 5.418 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.001346/0.001347, allocations: 191.9 kB / 18.51 MB, free: 4.504 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 / 224.4 MB, free: 12.29 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.001815/0.001815, allocations: 51.92 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.11, allocations: 46.63 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04574/0.1558, allocations: 39.24 MB / 366.6 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1583, allocations: 2.035 MB / 368.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.1586, allocations: 7.938 kB / 368.7 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.1591, allocations: 163 kB / 368.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005518/0.1597, allocations: 322.2 kB / 369.2 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.1603, allocations: 291.3 kB / 369.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007586/0.1611, allocations: 0.8445 MB / 370.3 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1612, allocations: 96.69 kB / 370.4 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2594/0.4206, allocations: 44.1 MB / 414.5 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.4212, allocations: 274.2 kB / 414.7 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.679e-05/0.4213, allocations: 32 kB / 414.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.4214, allocations: 34.94 kB / 414.8 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.4215, allocations: 91.3 kB / 414.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.4217, allocations: 183.4 kB / 415.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.4221, allocations: 437.3 kB / 415.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4221, allocations: 0 / 415.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4221, allocations: 0 / 415.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.4221, allocations: 0 / 415.5 MB, free: 3.426 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.0008089/0.4229, allocations: 0.5814 MB / 416.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.423, allocations: 8.031 kB / 416.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.097e-05/0.4231, allocations: 65.41 kB / 416.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.4234, allocations: 37.95 kB / 416.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.4237, allocations: 281.5 kB / 416.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.4237, allocations: 15.94 kB / 416.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.4238, allocations: 24.58 kB / 416.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.4243, allocations: 312.9 kB / 416.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.4243, allocations: 0 / 416.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.4243, allocations: 11.81 kB / 416.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.4244, allocations: 8 kB / 416.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.4247, allocations: 199 kB / 417 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.4261, allocations: 1.436 MB / 418.5 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.4265, allocations: 184.1 kB / 418.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.4266, allocations: 87.41 kB / 418.7 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.4266, allocations: 6.172 kB / 418.7 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.4267, allocations: 37.38 kB / 418.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.4267, allocations: 0 / 418.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002354/0.429, allocations: 1 MB / 419.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.4291, allocations: 55.41 kB / 419.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.4293, allocations: 260 kB / 420.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.4294, allocations: 33.7 kB / 420.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4295, allocations: 180.1 kB / 420.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.4296, allocations: 89.48 kB / 420.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.4297, allocations: 69.39 kB / 420.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4298, allocations: 334.8 kB / 420.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.43, allocations: 91.95 kB / 420.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.4303, allocations: 176.8 kB / 421 MB, free: 14.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.4307, allocations: 288.1 kB / 421.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4307, allocations: 7.938 kB / 421.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000671/0.4314, allocations: 380 kB / 421.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4314, allocations: 4 kB / 421.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4314, allocations: 6.188 kB / 421.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002332/0.4316, allocations: 65.7 kB / 421.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.4319, allocations: 71.44 kB / 421.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.4341, allocations: 2.879 MB / 424.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.4343, allocations: 15.97 kB / 424.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.4343, allocations: 12 kB / 424.7 MB, free: 10.14 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.0001755/0.4345, allocations: 157.5 kB / 424.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.4346, allocations: 27.72 kB / 424.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.861e-05/0.4347, allocations: 36.56 kB / 425 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4347, allocations: 4 kB / 425 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4347, allocations: 0 / 425 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005976/0.4353, allocations: 0.5681 MB / 425.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009638/0.4363, allocations: 0.7015 MB / 426.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4363, allocations: 0 / 426.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.4365, allocations: 43.98 kB / 426.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002302/0.4367, allocations: 64.28 kB / 426.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.4368, allocations: 4 kB / 426.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.4379, allocations: 1.489 MB / 427.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4379, allocations: 0 / 427.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006457/0.4385, allocations: 482 kB / 428.3 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.4386, allocations: 98.39 kB / 428.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.4387, allocations: 8 kB / 428.4 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.4389, allocations: 8 kB / 428.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.4389, allocations: 15.97 kB / 428.4 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.4389, allocations: 11.94 kB / 428.4 MB, free: 6.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.4391, allocations: 186 kB / 428.6 MB, free: 5.973 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4391, allocations: 4.062 kB / 428.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.4395, allocations: 88 kB / 428.7 MB, free: 5.883 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.0008996/0.4404, allocations: 1.003 MB / 429.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007297/0.4412, allocations: 492 kB / 430.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4412, allocations: 0 / 430.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.4415, allocations: 237.9 kB / 430.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.4425, allocations: 161.8 kB / 430.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.4461, allocations: 3.155 MB / 433.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.4464, allocations: 0.7651 MB / 434.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.4467, allocations: 50.94 kB / 434.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.4468, allocations: 84.88 kB / 434.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4468, allocations: 0 / 434.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.4788, allocations: 8.623 MB / 443.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.87, allocations: 15.45 kB / 443.3 MB, free: 7.125 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","/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