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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 93.62 kB / 16.93 MB, free: 5.98 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.001534/0.001534, allocations: 179.9 kB / 17.82 MB, free: 5.652 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.487/1.487, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005665/0.0005668, allocations: 15.28 kB / 280.8 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1162, allocations: 47.58 MB / 328.3 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0378/0.1541, allocations: 30.64 MB / 359 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1562, allocations: 1.507 MB / 360.5 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.1565, allocations: 4 kB / 360.5 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.1572, allocations: 139.3 kB / 360.6 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.1577, allocations: 211.4 kB / 360.8 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.1584, allocations: 223.5 kB / 361.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006625/0.159, allocations: 463 kB / 361.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.1593, allocations: 64.69 kB / 361.6 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3467/0.506, allocations: 72.07 MB / 433.6 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.5066, allocations: 166.4 kB / 433.8 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.5066, allocations: 16 kB / 433.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.5068, allocations: 21.78 kB / 433.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.5069, allocations: 76.7 kB / 433.9 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.507, allocations: 88.42 kB / 434 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.5075, allocations: 322.8 kB / 434.3 MB, free: 7.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.5075, allocations: 0 / 434.3 MB, free: 7.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5075, allocations: 0 / 434.3 MB, free: 7.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.5075, allocations: 0 / 434.3 MB, free: 7.059 MB / 334.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.0009021/0.5084, allocations: 0.5236 MB / 434.8 MB, free: 6.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5085, allocations: 12.03 kB / 434.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.5088, allocations: 47.17 kB / 434.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.5091, allocations: 270.1 kB / 435.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.5092, allocations: 20.81 kB / 435.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.5092, allocations: 26 kB / 435.2 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.5097, allocations: 303.6 kB / 435.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.5097, allocations: 7.031 kB / 435.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.5098, allocations: 10.5 kB / 435.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.5098, allocations: 8 kB / 435.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.5101, allocations: 194.5 kB / 435.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.5117, allocations: 1.432 MB / 437.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.512, allocations: 183.3 kB / 437.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.5121, allocations: 0.9688 kB / 437.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.5121, allocations: 44.72 kB / 437.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.5121, allocations: 0 / 437.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002579/0.5147, allocations: 0.9967 MB / 438.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5148, allocations: 58.92 kB / 438.4 MB, free: 3.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.515, allocations: 258.4 kB / 438.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.5151, allocations: 33.45 kB / 438.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.5152, allocations: 182.7 kB / 438.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/0.5153, allocations: 93.05 kB / 439 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.5153, allocations: 6.438 kB / 439 MB, free: 2.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5155, allocations: 336.1 kB / 439.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.5156, allocations: 85.62 kB / 439.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.5158, allocations: 178.1 kB / 439.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.516, allocations: 109.7 kB / 439.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.516, allocations: 0 / 439.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006369/0.5167, allocations: 390.4 kB / 440.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5167, allocations: 11.8 kB / 440.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5167, allocations: 4 kB / 440.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.517, allocations: 59.17 kB / 440.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.5173, allocations: 78.5 kB / 440.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.5195, allocations: 2.689 MB / 442.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.5198, allocations: 18.56 kB / 442.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.5199, allocations: 16.7 kB / 442.9 MB, free: 15.02 MB / 350.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 (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.0002094/0.5201, allocations: 157.5 kB / 443.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.5201, allocations: 27.67 kB / 443.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.063e-05/0.5202, allocations: 38.55 kB / 443.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5203, allocations: 4 kB / 443.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5203, allocations: 4 kB / 443.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000649/0.5209, allocations: 0.56 MB / 443.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.522, allocations: 0.7047 MB / 444.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.522, allocations: 4.031 kB / 444.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.5222, allocations: 42.52 kB / 444.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/0.5225, allocations: 62.39 kB / 444.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.5225, allocations: 10.19 kB / 444.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.5237, allocations: 1.399 MB / 445.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.5237, allocations: 0 / 445.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.5245, allocations: 492.6 kB / 446.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/0.5246, allocations: 92.83 kB / 446.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.5246, allocations: 8.75 kB / 446.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.5248, allocations: 15.86 kB / 446.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.5249, allocations: 23.47 kB / 446.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.5249, allocations: 4 kB / 446.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.5251, allocations: 185.1 kB / 446.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5251, allocations: 0 / 446.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004557/0.5256, allocations: 88.44 kB / 446.8 MB, free: 11.39 MB / 350.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 (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.0001433/0.5257, allocations: 111.1 kB / 446.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007124/0.5265, allocations: 472 kB / 447.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5265, allocations: 0 / 447.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.5268, allocations: 236.7 kB / 447.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008559/0.5277, allocations: 162.2 kB / 447.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.5289, allocations: 0.8249 MB / 448.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.5293, allocations: 0.7752 MB / 449.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002903/0.5296, allocations: 54.69 kB / 449.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.5297, allocations: 26.28 kB / 449.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5297, allocations: 0 / 449.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of Templates: time 0.01001/0.5397, allocations: 5.258 MB / 454.7 MB, free: 3.707 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile Environment - environmentSimulation: (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/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