Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0008819/0.0008819, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007165/0.0007164, allocations: 96.27 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 47.57 MB / 375.2 MB, free: 45.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02596/0.2104, allocations: 36.43 MB / 411.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2119, allocations: 1.931 MB / 413.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.2121, allocations: 7.938 kB / 413.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.2124, allocations: 123.3 kB / 413.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.2128, allocations: 298.4 kB / 414 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.2133, allocations: 215 kB / 414.2 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006213/0.2139, allocations: 1.071 MB / 415.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.2141, allocations: 77.73 kB / 415.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1003/0.3143, allocations: 73.16 MB / 488.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.3149, allocations: 271 kB / 488.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.3149, allocations: 16 kB / 488.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3151, allocations: 20 kB / 488.8 MB, free: 15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.456e-05/0.3152, allocations: 75.72 kB / 488.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.3153, allocations: 185.1 kB / 489 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.3157, allocations: 327.1 kB / 489.4 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3157, allocations: 0 / 489.4 MB, free: 14.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3157, allocations: 3.938 kB / 489.4 MB, free: 14.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3157, allocations: 0 / 489.4 MB, free: 14.42 MB / 378.7 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.000746/0.3165, allocations: 0.5302 MB / 489.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3165, allocations: 8.031 kB / 489.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.267e-05/0.3166, allocations: 58.73 kB / 490 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.3168, allocations: 40.64 kB / 490 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3171, allocations: 267.8 kB / 490.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.3171, allocations: 20.94 kB / 490.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.3172, allocations: 36.06 kB / 490.3 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.3176, allocations: 295.7 kB / 490.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3176, allocations: 3.938 kB / 490.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.3177, allocations: 12 kB / 490.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3177, allocations: 11.94 kB / 490.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.318, allocations: 197.6 kB / 490.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.3194, allocations: 1.436 MB / 492.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.3197, allocations: 174.7 kB / 492.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3198, allocations: 88.83 kB / 492.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3199, allocations: 4 kB / 492.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3199, allocations: 38.5 kB / 492.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.3199, allocations: 0 / 492.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.002281/0.3222, allocations: 1.01 MB / 493.6 MB, free: 9.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.3222, allocations: 55.34 kB / 493.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.3224, allocations: 258.6 kB / 493.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3225, allocations: 29.7 kB / 493.9 MB, free: 9.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.3226, allocations: 180.2 kB / 494.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.3226, allocations: 90.7 kB / 494.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.3227, allocations: 4 kB / 494.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.3228, allocations: 342.8 kB / 494.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3229, allocations: 91.69 kB / 494.6 MB, free: 8.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.3231, allocations: 174.9 kB / 494.8 MB, free: 8.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.3234, allocations: 303.6 kB / 495.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3234, allocations: 0 / 495.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006157/0.3241, allocations: 374.7 kB / 495.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3241, allocations: 8.938 kB / 495.4 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3241, allocations: 4 kB / 495.4 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.3244, allocations: 62.05 kB / 495.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.3246, allocations: 67.91 kB / 495.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.3265, allocations: 2.677 MB / 498.2 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3267, allocations: 31.91 kB / 498.3 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.3268, allocations: 8 kB / 498.3 MB, free: 4.754 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.3269, allocations: 157.7 kB / 498.4 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.327, allocations: 27.72 kB / 498.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.327, allocations: 38.11 kB / 498.5 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3271, allocations: 8 kB / 498.5 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3271, allocations: 0 / 498.5 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005507/0.3276, allocations: 0.5592 MB / 499.1 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009144/0.3285, allocations: 0.7067 MB / 499.8 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3286, allocations: 4.031 kB / 499.8 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.3288, allocations: 39.98 kB / 499.8 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/0.329, allocations: 60.72 kB / 499.9 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.329, allocations: 4 kB / 499.9 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.3301, allocations: 1.39 MB / 0.4895 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3301, allocations: 0 / 0.4895 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006253/0.3307, allocations: 485.1 kB / 0.49 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-05/0.3308, allocations: 100.8 kB / 0.4901 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.3308, allocations: 11.94 kB / 0.4901 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.331, allocations: 23.98 kB / 0.4901 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.3311, allocations: 15.92 kB / 0.4901 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.3311, allocations: 11.98 kB / 0.4901 GB, free: 0.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001481/0.3313, allocations: 186 kB / 0.4903 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3313, allocations: 0 / 0.4903 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003547/0.3316, allocations: 92 kB / 0.4904 GB, free: 0.5234 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1283/0.46, allocations: 0.9994 MB / 0.4914 GB, free: 121 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007068/0.4607, allocations: 472 kB / 0.4918 GB, free: 120.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4607, allocations: 0 / 0.4918 GB, free: 120.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.4611, allocations: 237.1 kB / 0.4921 GB, free: 120.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.462, allocations: 154.8 kB / 0.4922 GB, free: 120.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.4645, allocations: 1.887 MB / 0.4941 GB, free: 119.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.4647, allocations: 0.768 MB / 0.4948 GB, free: 119.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.4648, allocations: 87.56 kB / 0.4949 GB, free: 119.2 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4648, allocations: 3.938 kB / 0.4949 GB, free: 119.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.207/3.672, allocations: 6.383 MB / 0.5011 GB, free: 115.9 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches