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.001006/0.001006, allocations: 105.3 kB / 17.58 MB, free: 5.559 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.001026/0.001026, allocations: 192 kB / 18.51 MB, free: 4.641 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.431/1.431, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001286/0.001286, allocations: 51.92 kB / 280.7 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09874, allocations: 46.63 MB / 327.3 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04315/0.1419, allocations: 39.24 MB / 366.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.1444, allocations: 2.039 MB / 368.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.1447, allocations: 7.938 kB / 368.6 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.1452, allocations: 171 kB / 368.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.1457, allocations: 314.2 kB / 369.1 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.1463, allocations: 283.4 kB / 369.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008042/0.1471, allocations: 0.8407 MB / 370.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.1473, allocations: 96.67 kB / 370.3 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2654/0.4128, allocations: 44.1 MB / 414.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006489/0.4135, allocations: 274.5 kB / 414.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.4136, allocations: 28 kB / 414.7 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.4138, allocations: 38.44 kB / 414.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.4139, allocations: 85.3 kB / 414.8 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.4141, allocations: 188.6 kB / 415 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.4146, allocations: 431.5 kB / 415.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4146, allocations: 0 / 415.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4146, allocations: 0 / 415.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4146, allocations: 0 / 415.4 MB, free: 3.52 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.0008763/0.4155, allocations: 0.5875 MB / 416 MB, free: 2.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4155, allocations: 12.03 kB / 416 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.4158, allocations: 40.64 kB / 416 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.4161, allocations: 279.6 kB / 416.3 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4161, allocations: 19.31 kB / 416.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.4162, allocations: 23 kB / 416.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.4166, allocations: 309.1 kB / 416.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4166, allocations: 0 / 416.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.4166, allocations: 10.88 kB / 416.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4166, allocations: 8 kB / 416.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.4169, allocations: 199.3 kB / 416.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.4182, allocations: 1.437 MB / 418.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.4185, allocations: 181.3 kB / 418.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.4186, allocations: 89.08 kB / 418.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.4186, allocations: 3.281 kB / 418.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.4187, allocations: 38.25 kB / 418.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.615e-06/0.4187, allocations: 3.938 kB / 418.6 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.00221/0.4209, allocations: 0.997 MB / 419.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.4209, allocations: 55.41 kB / 419.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.4212, allocations: 259.5 kB / 419.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4212, allocations: 33.7 kB / 419.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4213, allocations: 177.7 kB / 420.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.4214, allocations: 92.84 kB / 420.2 MB, free: 15 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.4215, allocations: 69.39 kB / 420.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4216, allocations: 338.8 kB / 420.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.4218, allocations: 87.97 kB / 420.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.422, allocations: 174 kB / 420.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.4224, allocations: 291.8 kB / 421.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4224, allocations: 1.422 kB / 421.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000623/0.423, allocations: 387.8 kB / 421.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.423, allocations: 4 kB / 421.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.423, allocations: 4 kB / 421.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/0.4233, allocations: 65.55 kB / 421.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.4236, allocations: 71.78 kB / 421.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.4258, allocations: 2.879 MB / 424.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.4261, allocations: 15.97 kB / 424.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.4261, allocations: 12 kB / 424.6 MB, free: 10.31 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.0001657/0.4263, allocations: 156 kB / 424.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.4263, allocations: 31.72 kB / 424.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.4264, allocations: 34.17 kB / 424.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.4264, allocations: 4 kB / 424.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4264, allocations: 1.859 kB / 424.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005813/0.427, allocations: 0.566 MB / 425.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.428, allocations: 0.6983 MB / 426.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.428, allocations: 0 / 426.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.4282, allocations: 47.55 kB / 426.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.4285, allocations: 56.72 kB / 426.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.4285, allocations: 8 kB / 426.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.4297, allocations: 1.491 MB / 427.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4297, allocations: 0 / 427.7 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/0.4304, allocations: 478 kB / 428.1 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.4305, allocations: 100.9 kB / 428.2 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.4305, allocations: 4 kB / 428.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.4307, allocations: 7.562 kB / 428.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.4308, allocations: 19.97 kB / 428.3 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.4308, allocations: 11.98 kB / 428.3 MB, free: 6.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.431, allocations: 187.8 kB / 428.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.431, allocations: 64 / 428.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004158/0.4314, allocations: 96 kB / 428.5 MB, free: 6.051 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.000153/0.4316, allocations: 104.1 kB / 428.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008136/0.4324, allocations: 489.1 kB / 429.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4324, allocations: 0 / 429.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.4327, allocations: 237.6 kB / 429.4 MB, free: 5.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/0.4336, allocations: 167.3 kB / 429.5 MB, free: 5.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.4348, allocations: 0.6854 MB / 430.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.4351, allocations: 0.7627 MB / 431 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002612/0.4354, allocations: 51.22 kB / 431 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.108e-05/0.4355, allocations: 35.42 kB / 431.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4355, allocations: 0 / 431.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of Templates: time 0.009879/0.4454, allocations: 5.684 MB / 436.7 MB, free: 13.87 MB / 350.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