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.001116/0.001116, allocations: 104 kB / 17.58 MB, free: 5.414 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.001075/0.001075, allocations: 191.9 kB / 18.5 MB, free: 4.5 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.42/1.42, 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.001293/0.001293, allocations: 55.92 kB / 280.7 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1073, allocations: 46.63 MB / 327.3 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.0164/0.1237, allocations: 15.83 MB / 343.1 MB, free: 4.562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.1266, allocations: 1.912 MB / 345 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.1269, allocations: 7.938 kB / 345 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.1274, allocations: 167 kB / 345.2 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.1279, allocations: 310.3 kB / 345.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.1286, allocations: 291.3 kB / 345.8 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007802/0.1294, allocations: 0.8446 MB / 346.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.1296, allocations: 104.7 kB / 346.7 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008419/0.1304, allocations: 0.5097 MB / 347.3 MB, free: 428 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.1308, allocations: 271 kB / 347.5 MB, free: 156 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.1308, allocations: 32 kB / 347.5 MB, free: 124 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.131, allocations: 32 kB / 347.6 MB, free: 92 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1311, allocations: 95.77 kB / 347.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.1313, allocations: 179.2 kB / 347.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.1317, allocations: 434.9 kB / 348.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1317, allocations: 3.984 kB / 348.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1317, allocations: 4 kB / 348.3 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1317, allocations: 0 / 348.3 MB, free: 15.39 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.0008904/0.1326, allocations: 0.5809 MB / 348.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1327, allocations: 8.031 kB / 348.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.133, allocations: 44.64 kB / 348.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.1333, allocations: 283.7 kB / 349.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1334, allocations: 16.94 kB / 349.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.1334, allocations: 24.38 kB / 349.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.1339, allocations: 311.8 kB / 349.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1339, allocations: 0 / 349.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.1339, allocations: 12 kB / 349.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.134, allocations: 8 kB / 349.6 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.1343, allocations: 193.5 kB / 349.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.1359, allocations: 1.44 MB / 351.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1362, allocations: 178.6 kB / 351.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.1364, allocations: 92.77 kB / 351.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1364, allocations: 8 kB / 351.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.898e-05/0.1365, allocations: 34.56 kB / 351.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.1365, allocations: 0 / 351.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002356/0.1388, allocations: 0.9998 MB / 352.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1389, allocations: 55.41 kB / 352.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1391, allocations: 258.6 kB / 352.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.1392, allocations: 33.7 kB / 352.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1393, allocations: 184.1 kB / 353 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.1394, allocations: 90.66 kB / 353.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1395, allocations: 73.38 kB / 353.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1396, allocations: 338.8 kB / 353.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1398, allocations: 83.97 kB / 353.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.14, allocations: 174.9 kB / 353.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.1403, allocations: 287 kB / 354 MB, free: 9.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1403, allocations: 4 kB / 354 MB, free: 9.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006472/0.141, allocations: 382.9 kB / 354.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.141, allocations: 12.03 kB / 354.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.1411, allocations: 4 kB / 354.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.1413, allocations: 57.67 kB / 354.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.1416, allocations: 71.91 kB / 354.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.1438, allocations: 2.886 MB / 357.4 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.144, allocations: 11.94 kB / 357.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.144, allocations: 16 kB / 357.5 MB, free: 5.445 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.0001558/0.1442, allocations: 145.8 kB / 357.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.1443, allocations: 23.78 kB / 357.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.751e-05/0.1443, allocations: 46.17 kB / 357.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1444, allocations: 4 kB / 357.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1444, allocations: 0 / 357.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005909/0.145, allocations: 0.567 MB / 358.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.1459, allocations: 0.7028 MB / 359 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1459, allocations: 0 / 359 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.1461, allocations: 43.92 kB / 359 MB, free: 3.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.1464, allocations: 52.78 kB / 359 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.1464, allocations: 4 kB / 359 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.1475, allocations: 1.5 MB / 360.5 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1475, allocations: 0 / 360.5 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.1482, allocations: 473 kB / 361 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.1483, allocations: 96.83 kB / 361.1 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.1483, allocations: 20.11 kB / 361.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.1485, allocations: 0 / 361.1 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.1486, allocations: 15.98 kB / 361.1 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1486, allocations: 11.98 kB / 361.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1488, allocations: 193.8 kB / 361.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1488, allocations: 0 / 361.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003859/0.1492, allocations: 84 kB / 361.4 MB, free: 1.141 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.000124/0.1493, allocations: 108.5 kB / 361.5 MB, free: 1.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007893/0.1501, allocations: 486 kB / 362 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1501, allocations: 3.938 kB / 362 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.1505, allocations: 246.4 kB / 362.2 MB, free: 276 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009601/0.1515, allocations: 160.3 kB / 362.4 MB, free: 116 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1527, allocations: 0.6833 MB / 363.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1531, allocations: 0.7682 MB / 363.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.1534, allocations: 58.88 kB / 363.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.1535, allocations: 23.44 kB / 363.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1535, allocations: 4 kB / 363.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of Templates: time 0.01089/0.1644, allocations: 5.675 MB / 369.6 MB, free: 8.852 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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