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.001689/0.001689, allocations: 108.4 kB / 18.34 MB, free: 4.809 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.001319/0.001319, allocations: 186.9 kB / 19.28 MB, free: 3.879 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.362/1.362, allocations: 205.1 MB / 225.1 MB, free: 12.26 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.001218/0.001218, allocations: 51.94 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07909/0.08032, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01211/0.09247, allocations: 12.85 MB / 341.6 MB, free: 6.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.09445, allocations: 1.713 MB / 343.3 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.09459, allocations: 4 kB / 343.3 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.09506, allocations: 166.9 kB / 343.5 MB, free: 4.945 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.09555, allocations: 326.2 kB / 343.8 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008215/0.09638, allocations: 411 kB / 344.2 MB, free: 4.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007257/0.09711, allocations: 0.8251 MB / 345 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.0973, allocations: 92.69 kB / 345.1 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.0978, allocations: 390.6 kB / 345.5 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.09809, allocations: 262.9 kB / 345.7 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.09815, allocations: 32 kB / 345.8 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.09835, allocations: 107.8 kB / 345.9 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.09846, allocations: 95.77 kB / 346 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.09864, allocations: 187.2 kB / 346.1 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.09907, allocations: 466.6 kB / 346.6 MB, free: 1.793 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.09909, allocations: 0 / 346.6 MB, free: 1.793 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09909, allocations: 3.938 kB / 346.6 MB, free: 1.789 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.0991, allocations: 0 / 346.6 MB, free: 1.789 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.000697/0.09981, allocations: 0.5887 MB / 347.2 MB, free: 1.152 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.09984, allocations: 8.031 kB / 347.2 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.1001, allocations: 36.66 kB / 347.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.1005, allocations: 291.7 kB / 347.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1005, allocations: 16.94 kB / 347.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.1006, allocations: 24.38 kB / 347.6 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.101, allocations: 325.5 kB / 347.9 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.101, allocations: 0 / 347.9 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.1011, allocations: 12 kB / 347.9 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1011, allocations: 8 kB / 347.9 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.1014, allocations: 193.5 kB / 348.1 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.1031, allocations: 1.736 MB / 349.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1033, allocations: 130.5 kB / 350 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.739e-05/0.1034, allocations: 72.81 kB / 350 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.1035, allocations: 166.2 kB / 350.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1036, allocations: 38.55 kB / 350.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.1036, allocations: 0 / 350.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001592/0.1052, allocations: 0.7824 MB / 351 MB, free: 12.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1052, allocations: 51.41 kB / 351.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1055, allocations: 294.4 kB / 351.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1055, allocations: 29.7 kB / 351.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1056, allocations: 199.5 kB / 351.6 MB, free: 12.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.1057, allocations: 70.98 kB / 351.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.1058, allocations: 69.59 kB / 351.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1059, allocations: 338.8 kB / 352 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.106, allocations: 71.91 kB / 352.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.1062, allocations: 191.1 kB / 352.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.1066, allocations: 291.3 kB / 352.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1066, allocations: 4 kB / 352.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004602/0.107, allocations: 325.7 kB / 352.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1071, allocations: 12.48 kB / 352.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1071, allocations: 7.984 kB / 352.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.383e-05/0.1072, allocations: 28.8 kB / 352.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.1075, allocations: 91.83 kB / 353 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009531/0.1084, allocations: 1.386 MB / 354.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.1086, allocations: 12 kB / 354.4 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.1086, allocations: 15.98 kB / 354.4 MB, free: 9.234 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.0001389/0.1088, allocations: 165.6 kB / 354.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.1088, allocations: 27.7 kB / 354.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.1092, allocations: 206.5 kB / 354.8 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.1092, allocations: 4 kB / 354.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1092, allocations: 0 / 354.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003392/0.1096, allocations: 487.7 kB / 355.3 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1106, allocations: 0.7721 MB / 356.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1106, allocations: 0 / 356.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.1108, allocations: 43.92 kB / 356.1 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1108, allocations: 4 kB / 356.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.1108, allocations: 11.94 kB / 356.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.1108, allocations: 16.2 kB / 356.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1108, allocations: 0 / 356.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.1112, allocations: 399.2 kB / 356.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.1113, allocations: 108.8 kB / 356.7 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.1114, allocations: 7.984 kB / 356.7 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.1116, allocations: 12 kB / 356.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.1116, allocations: 20.05 kB / 356.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.1117, allocations: 15.98 kB / 356.7 MB, free: 6.699 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.1119, allocations: 201.9 kB / 356.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1119, allocations: 0 / 356.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.1123, allocations: 96 kB / 357 MB, free: 6.41 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.0002059/0.1125, allocations: 143.1 kB / 357.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004418/0.1129, allocations: 306.4 kB / 357.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.113, allocations: 0 / 357.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1131, allocations: 80.8 kB / 357.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008478/0.1139, allocations: 165.4 kB / 357.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008725/0.1148, allocations: 0.6174 MB / 358.3 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1151, allocations: 0.7561 MB / 359.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.1153, allocations: 60.56 kB / 359.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.1154, allocations: 35.42 kB / 359.2 MB, free: 4.152 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1154, allocations: 0 / 359.2 MB, free: 4.152 MB / 302.1 MB Notification: Performance of Templates: time 0.009161/0.1245, allocations: 5.562 MB / 364.7 MB, free: 14.59 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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