Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 104.6 kB / 17.16 MB, free: 6.32 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.001794/0.001794, 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.612/1.612, 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.001184/0.001184, allocations: 51.92 kB / 280 MB, free: 3.559 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09307, allocations: 46.62 MB / 326.6 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01457/0.1077, allocations: 12.83 MB / 339.4 MB, free: 7.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.1101, allocations: 1.705 MB / 341.1 MB, free: 6.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/0.1105, allocations: 4 kB / 341.1 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006207/0.1111, allocations: 143.2 kB / 341.3 MB, free: 6.129 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006675/0.1118, allocations: 306.4 kB / 341.6 MB, free: 5.828 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.1129, allocations: 387.2 kB / 342 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1142, allocations: 1.278 MB / 343.2 MB, free: 4.168 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.1144, allocations: 80.61 kB / 343.3 MB, free: 4.09 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006429/0.1151, allocations: 358.6 kB / 343.7 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.1155, allocations: 270.9 kB / 343.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.1155, allocations: 23.94 kB / 344 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.1158, allocations: 107.8 kB / 344.1 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.116, allocations: 83.66 kB / 344.1 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.1162, allocations: 167.3 kB / 344.3 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.1169, allocations: 474.8 kB / 344.8 MB, free: 2.633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1169, allocations: 0 / 344.8 MB, free: 2.633 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1169, allocations: 0 / 344.8 MB, free: 2.633 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1169, allocations: 0 / 344.8 MB, free: 2.633 MB / 286.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.001015/0.1179, allocations: 0.5809 MB / 345.4 MB, free: 2.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.118, allocations: 12.03 kB / 345.4 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.1183, allocations: 44.64 kB / 345.4 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.1188, allocations: 271.8 kB / 345.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1188, allocations: 16.94 kB / 345.7 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.1188, allocations: 24.38 kB / 345.7 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.1194, allocations: 325.5 kB / 346 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1194, allocations: 3.938 kB / 346 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.1194, allocations: 12 kB / 346 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1194, allocations: 4 kB / 346.1 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.1198, allocations: 197.5 kB / 346.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.1217, allocations: 1.728 MB / 348 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.122, allocations: 138.5 kB / 348.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1221, allocations: 72.84 kB / 348.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.1223, allocations: 166.2 kB / 348.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1223, allocations: 34.56 kB / 348.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1224, allocations: 4 kB / 348.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001907/0.1243, allocations: 0.7855 MB / 349.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.1243, allocations: 59.41 kB / 349.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.1247, allocations: 286.5 kB / 349.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1247, allocations: 33.64 kB / 349.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1249, allocations: 199.4 kB / 349.7 MB, free: 13.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.1249, allocations: 78.98 kB / 349.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.125, allocations: 69.39 kB / 349.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1253, allocations: 338.8 kB / 350.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1254, allocations: 63.97 kB / 350.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.1256, allocations: 191.1 kB / 350.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.126, allocations: 287.3 kB / 350.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.126, allocations: 0 / 350.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000499/0.1265, allocations: 333.7 kB / 351.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1266, allocations: 8 kB / 351.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1266, allocations: 4.5 kB / 351.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/0.1267, allocations: 28.78 kB / 351.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.127, allocations: 79.91 kB / 351.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.1281, allocations: 1.299 MB / 352.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1283, allocations: 12 kB / 352.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.1284, allocations: 23.98 kB / 352.5 MB, free: 10.18 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.1285, allocations: 149.7 kB / 352.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.1286, allocations: 31.56 kB / 352.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.129, allocations: 217.3 kB / 352.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.129, allocations: 0 / 352.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.129, allocations: 48 / 352.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003925/0.1294, allocations: 487.7 kB / 353.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1305, allocations: 0.7722 MB / 354.2 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/0.1305, allocations: 4 kB / 354.2 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1307, allocations: 43.91 kB / 354.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1307, allocations: 4 kB / 354.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1307, allocations: 8.281 kB / 354.2 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1308, allocations: 8 kB / 354.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1308, allocations: 4 kB / 354.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.1313, allocations: 403.2 kB / 354.6 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.1314, allocations: 100.8 kB / 354.7 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.1314, allocations: 8 kB / 354.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.1317, allocations: 20.05 kB / 354.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.1317, allocations: 19.86 kB / 354.8 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.1317, allocations: 19.98 kB / 354.8 MB, free: 7.648 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002081/0.132, allocations: 198 kB / 355 MB, free: 7.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.132, allocations: 0 / 355 MB, free: 7.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004573/0.1324, allocations: 103.9 kB / 355.1 MB, free: 7.355 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00033/0.1328, allocations: 147.1 kB / 355.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004791/0.1332, allocations: 307.1 kB / 355.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1333, allocations: 0 / 355.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1334, allocations: 75.98 kB / 355.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009259/0.1343, allocations: 159.8 kB / 355.7 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1354, allocations: 0.7249 MB / 356.5 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.1358, allocations: 0.7641 MB / 357.2 MB, free: 5.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002907/0.1361, allocations: 56.66 kB / 357.3 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.1362, allocations: 31.44 kB / 357.3 MB, free: 5 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1362, allocations: 0 / 357.3 MB, free: 5 MB / 302.1 MB Notification: Performance of Templates: time 0.009255/0.1454, allocations: 5.344 MB / 362.7 MB, free: 15.65 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches