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.001153/0.001153, allocations: 109.4 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.001347/0.001347, allocations: 180.1 kB / 18.66 MB, free: 4.422 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.1 MB / 224.5 MB, free: 12.25 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.001212/0.001212, allocations: 47.94 kB / 328.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.09977, allocations: 46.62 MB / 375.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2828/0.3827, allocations: 39.25 MB / 414.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.3857, allocations: 2.038 MB / 416.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.386, allocations: 3.469 kB / 416.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.3866, allocations: 176.6 kB / 416.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.3872, allocations: 310.5 kB / 417 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/0.3879, allocations: 280.1 kB / 417.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.389, allocations: 0.8321 MB / 418.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.3892, allocations: 108.3 kB / 418.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1183/0.5075, allocations: 44.11 MB / 462.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000928/0.5085, allocations: 270.9 kB / 462.5 MB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.5086, allocations: 28 kB / 462.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.5089, allocations: 43.98 kB / 462.6 MB, free: 7.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.509, allocations: 91.66 kB / 462.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.5094, allocations: 179.3 kB / 462.9 MB, free: 7.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.5101, allocations: 434.6 kB / 463.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5101, allocations: 0 / 463.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5101, allocations: 4 kB / 463.3 MB, free: 7.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.5101, allocations: 0 / 463.3 MB, free: 7.059 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.001163/0.5113, allocations: 0.5815 MB / 463.9 MB, free: 6.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.5114, allocations: 16.03 kB / 463.9 MB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.5117, allocations: 32.66 kB / 463.9 MB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/0.5123, allocations: 295.7 kB / 464.2 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.5123, allocations: 16.94 kB / 464.2 MB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.5123, allocations: 24.38 kB / 464.3 MB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.5129, allocations: 315.6 kB / 464.6 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.5129, allocations: 0 / 464.6 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.513, allocations: 12.88 kB / 464.6 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.513, allocations: 4 kB / 464.6 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.5133, allocations: 193.5 kB / 464.8 MB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.5152, allocations: 1.436 MB / 466.2 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.5156, allocations: 182.5 kB / 466.4 MB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.5157, allocations: 88.83 kB / 466.5 MB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.5158, allocations: 0 / 466.5 MB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.5158, allocations: 49.3 kB / 466.5 MB, free: 3.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.5158, allocations: 0 / 466.5 MB, free: 3.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002606/0.5184, allocations: 0.9997 MB / 467.5 MB, free: 2.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.5185, allocations: 55.39 kB / 467.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.5187, allocations: 258.6 kB / 467.8 MB, free: 2.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.5188, allocations: 37.64 kB / 467.9 MB, free: 2.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.5189, allocations: 176.2 kB / 468 MB, free: 1.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.519, allocations: 94.64 kB / 468.1 MB, free: 1.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5191, allocations: 69.61 kB / 468.2 MB, free: 1.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5192, allocations: 338.8 kB / 468.5 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5194, allocations: 79.97 kB / 468.6 MB, free: 1.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.5196, allocations: 178.8 kB / 468.8 MB, free: 1.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.52, allocations: 287 kB / 469.1 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.52, allocations: 3.938 kB / 469.1 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000688/0.5207, allocations: 382.7 kB / 469.4 MB, free: 464 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5208, allocations: 4 kB / 469.4 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5208, allocations: 4 kB / 469.5 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.5211, allocations: 66.05 kB / 469.5 MB, free: 384 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.5214, allocations: 71.84 kB / 469.6 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.5238, allocations: 2.887 MB / 472.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.5241, allocations: 11.94 kB / 472.5 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.5241, allocations: 12 kB / 472.5 MB, free: 13.11 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.0001694/0.5243, allocations: 151.2 kB / 472.6 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.5244, allocations: 27.72 kB / 472.7 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.109e-05/0.5244, allocations: 34.17 kB / 472.7 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5244, allocations: 4 kB / 472.7 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5245, allocations: 0 / 472.7 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005726/0.525, allocations: 0.5656 MB / 473.3 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.5261, allocations: 0.7071 MB / 474 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5261, allocations: 0 / 474 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.5263, allocations: 47.91 kB / 474 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.5265, allocations: 48.8 kB / 474.1 MB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.5266, allocations: 8 kB / 474.1 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.5278, allocations: 1.492 MB / 475.6 MB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5278, allocations: 0 / 475.6 MB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.5285, allocations: 484.5 kB / 476.1 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.5286, allocations: 100.8 kB / 476.1 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.5286, allocations: 4 kB / 476.2 MB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.5289, allocations: 12.12 kB / 476.2 MB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.5289, allocations: 11.98 kB / 476.2 MB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.5289, allocations: 19.8 kB / 476.2 MB, free: 9.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.5291, allocations: 186 kB / 476.4 MB, free: 8.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5291, allocations: 0 / 476.4 MB, free: 8.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004194/0.5296, allocations: 92 kB / 476.5 MB, free: 8.801 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.0001291/0.5297, allocations: 99.19 kB / 476.6 MB, free: 8.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007904/0.5305, allocations: 477.1 kB / 477 MB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.5305, allocations: 0 / 477 MB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.5309, allocations: 243.2 kB / 477.3 MB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.5319, allocations: 161.9 kB / 477.4 MB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.5332, allocations: 0.6748 MB / 478.1 MB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.5335, allocations: 0.7684 MB / 478.9 MB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002376/0.5338, allocations: 54.92 kB / 478.9 MB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.466e-05/0.5339, allocations: 27.44 kB / 478.9 MB, free: 6.223 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5339, allocations: 0 / 478.9 MB, free: 6.223 MB / 398.1 MB Notification: Performance of Templates: time 0.0114/0.5453, allocations: 5.739 MB / 484.7 MB, free: 492 kB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (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) 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","/var/lib/jenkins/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