Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008424/0.0008423, allocations: 93.72 kB / 17.3 MB, free: 6.391 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.001017/0.001017, allocations: 173.4 kB / 18.2 MB, free: 5.551 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.48/1.48, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004214/0.0004215, allocations: 15.12 kB / 281.4 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09289, allocations: 47.58 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01547/0.1084, allocations: 15.45 MB / 344.4 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.111, allocations: 1.885 MB / 346.3 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/0.1112, allocations: 4 kB / 346.3 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006223/0.1119, allocations: 143.2 kB / 346.5 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000627/0.1125, allocations: 314.5 kB / 346.8 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.1132, allocations: 259.6 kB / 347 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.1144, allocations: 1.289 MB / 348.3 MB, free: 356 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1146, allocations: 72.69 kB / 348.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009753/0.1156, allocations: 450.1 kB / 348.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.116, allocations: 282.8 kB / 349.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.116, allocations: 12 kB / 349.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1162, allocations: 24 kB / 349.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1163, allocations: 83.64 kB / 349.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.1165, allocations: 189 kB / 349.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.1169, allocations: 418.8 kB / 349.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.117, allocations: 0 / 349.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.117, allocations: 4 kB / 349.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.117, allocations: 0 / 349.8 MB, free: 14.83 MB / 302.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.0008594/0.1178, allocations: 0.5186 MB / 350.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1179, allocations: 8.031 kB / 350.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.1182, allocations: 48.55 kB / 350.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.1185, allocations: 283.7 kB / 350.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.1185, allocations: 20.92 kB / 350.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.1186, allocations: 24.38 kB / 350.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.1191, allocations: 307.8 kB / 351 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1191, allocations: 0 / 351 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.1191, allocations: 12 kB / 351 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.1192, allocations: 11.98 kB / 351 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.1195, allocations: 189.6 kB / 351.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.1211, allocations: 1.444 MB / 352.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.1215, allocations: 178.6 kB / 352.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1216, allocations: 84.84 kB / 352.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1217, allocations: 4 kB / 352.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1217, allocations: 42.55 kB / 353 MB, free: 11.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.1217, allocations: 3.938 kB / 353 MB, free: 11.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002542/0.1243, allocations: 1.004 MB / 354 MB, free: 10.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1243, allocations: 55.41 kB / 354 MB, free: 10.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.1246, allocations: 262.5 kB / 354.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.1247, allocations: 29.7 kB / 354.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1248, allocations: 180.2 kB / 354.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/0.1249, allocations: 94.64 kB / 354.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.1249, allocations: 37.7 kB / 354.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1251, allocations: 334.8 kB / 354.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1252, allocations: 87.75 kB / 355 MB, free: 9.238 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.1255, allocations: 182.9 kB / 355.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.1259, allocations: 283 kB / 355.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1259, allocations: 4 kB / 355.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006741/0.1265, allocations: 382.6 kB / 355.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1266, allocations: 4 kB / 355.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1266, allocations: 4 kB / 355.9 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.1269, allocations: 66.05 kB / 355.9 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.1272, allocations: 75.84 kB / 356 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.1296, allocations: 2.67 MB / 358.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.1298, allocations: 15.98 kB / 358.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1299, allocations: 19.94 kB / 358.7 MB, free: 5.188 MB / 302.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.0001887/0.1301, allocations: 157.8 kB / 358.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1302, allocations: 31.8 kB / 358.9 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.946e-05/0.1303, allocations: 38.17 kB / 358.9 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1303, allocations: 4 kB / 358.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1303, allocations: 0 / 358.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006797/0.131, allocations: 0.5669 MB / 359.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.132, allocations: 0.7106 MB / 360.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.1321, allocations: 3.984 kB / 360.2 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.1323, allocations: 43.92 kB / 360.3 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002934/0.1326, allocations: 60.81 kB / 360.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.1326, allocations: 4 kB / 360.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.1337, allocations: 1.386 MB / 361.7 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1337, allocations: 3.938 kB / 361.7 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000688/0.1344, allocations: 477 kB / 362.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.1345, allocations: 109 kB / 362.3 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.1346, allocations: 4 kB / 362.3 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.1348, allocations: 19.78 kB / 362.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.1348, allocations: 19.97 kB / 362.3 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.1349, allocations: 11.98 kB / 362.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.135, allocations: 182 kB / 362.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1351, allocations: 0 / 362.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004123/0.1355, allocations: 92 kB / 362.6 MB, free: 0.9492 MB / 302.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.0001396/0.1356, allocations: 111.3 kB / 362.7 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007141/0.1363, allocations: 462.1 kB / 363.2 MB, free: 364 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1364, allocations: 4 kB / 363.2 MB, free: 360 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.1367, allocations: 246.5 kB / 363.4 MB, free: 100 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.1378, allocations: 157.7 kB / 363.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.1391, allocations: 0.8579 MB / 364.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1394, allocations: 0.7606 MB / 365.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000276/0.1397, allocations: 50.95 kB / 365.2 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.1398, allocations: 27.42 kB / 365.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1398, allocations: 0 / 365.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of Templates: time 0.01006/0.1498, allocations: 5.441 MB / 370.7 MB, free: 8.766 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_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/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches