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.001053/0.001053, allocations: 102.6 kB / 17.16 MB, free: 6.316 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.001101/0.001101, allocations: 190 kB / 18.07 MB, free: 5.414 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.432/1.432, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001054/0.001054, allocations: 47.92 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.09022, allocations: 46.63 MB / 326.7 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04032/0.1306, allocations: 41.06 MB / 367.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1328, allocations: 2.039 MB / 369.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.133, allocations: 7.938 kB / 369.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.1335, allocations: 143.3 kB / 370 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.134, allocations: 314.4 kB / 370.3 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.1345, allocations: 259.6 kB / 370.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.1355, allocations: 1.305 MB / 371.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1356, allocations: 76.69 kB / 371.9 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2506/0.3863, allocations: 42.96 MB / 414.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006445/0.387, allocations: 281.5 kB / 415.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.352e-05/0.387, allocations: 17.53 kB / 415.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.3872, allocations: 28.12 kB / 415.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3873, allocations: 84.36 kB / 415.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.3875, allocations: 162.8 kB / 415.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003638/0.3878, allocations: 423.7 kB / 415.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3879, allocations: 0 / 415.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3879, allocations: 4 kB / 415.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3879, allocations: 0 / 415.8 MB, free: 2.402 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.0007599/0.3886, allocations: 0.582 MB / 416.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3887, allocations: 12.02 kB / 416.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.3888, allocations: 66.92 kB / 416.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.389, allocations: 40.64 kB / 416.5 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.3893, allocations: 273.9 kB / 416.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3893, allocations: 17 kB / 416.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.3894, allocations: 24.5 kB / 416.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.3898, allocations: 313.2 kB / 417.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3898, allocations: 0 / 417.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.3898, allocations: 13.25 kB / 417.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3899, allocations: 4 kB / 417.2 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.3901, allocations: 198.7 kB / 417.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.3914, allocations: 1.433 MB / 418.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.3917, allocations: 175.8 kB / 419 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3919, allocations: 88.48 kB / 419.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.3919, allocations: 4 kB / 419.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3919, allocations: 48.06 kB / 419.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.392, allocations: 0 / 419.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002308/0.3943, allocations: 0.9954 MB / 420.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.3943, allocations: 55.41 kB / 420.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.3945, allocations: 254.6 kB / 420.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3946, allocations: 33.64 kB / 420.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3947, allocations: 185 kB / 420.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.3948, allocations: 92.72 kB / 420.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.3949, allocations: 67.27 kB / 420.8 MB, free: 14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.395, allocations: 332.9 kB / 421.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.3951, allocations: 83.09 kB / 421.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.3953, allocations: 187.9 kB / 421.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.3956, allocations: 287.2 kB / 421.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3956, allocations: 3.938 kB / 421.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005996/0.3962, allocations: 376 kB / 422 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3963, allocations: 8.375 kB / 422 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.3963, allocations: 8 kB / 422 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.3965, allocations: 56.23 kB / 422.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.3968, allocations: 72.75 kB / 422.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.3989, allocations: 2.682 MB / 424.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.3992, allocations: 14.52 kB / 424.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.3992, allocations: 16 kB / 424.9 MB, free: 10.01 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.0001702/0.3994, allocations: 157 kB / 425 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.3995, allocations: 27.66 kB / 425 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.3995, allocations: 45.17 kB / 425.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3996, allocations: 4 kB / 425.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.3996, allocations: 0.875 kB / 425.1 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005773/0.4001, allocations: 0.5621 MB / 425.7 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000938/0.4011, allocations: 0.7019 MB / 426.4 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4011, allocations: 0 / 426.4 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.4013, allocations: 47.34 kB / 426.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.4016, allocations: 52.83 kB / 426.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.4016, allocations: 11.48 kB / 426.5 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.4026, allocations: 1.385 MB / 427.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4026, allocations: 6.938 kB / 427.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/0.4033, allocations: 477.5 kB / 428.3 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.4034, allocations: 102.3 kB / 428.4 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.4034, allocations: 8 kB / 428.4 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.4037, allocations: 19.84 kB / 428.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.4037, allocations: 19.97 kB / 428.5 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.4037, allocations: 4 kB / 428.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.4039, allocations: 191.6 kB / 428.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4039, allocations: 0 / 428.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003937/0.4043, allocations: 92 kB / 428.8 MB, free: 5.84 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.0008908/0.4052, allocations: 0.998 MB / 429.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.4059, allocations: 484.8 kB / 430.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4059, allocations: 0.75 kB / 430.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.4063, allocations: 240.5 kB / 430.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008259/0.4071, allocations: 153.2 kB / 430.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/0.4109, allocations: 3.24 MB / 433.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.4112, allocations: 0.7622 MB / 434.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000293/0.4115, allocations: 53.7 kB / 434.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4116, allocations: 91.41 kB / 434.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4116, allocations: 0 / 434.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08094/0.4926, allocations: 8.27 MB / 443 MB, free: 7.438 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.4928, allocations: 260.7 kB / 443.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.293, allocations: 7.938 kB / 443.3 MB, free: 7.074 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