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.001547/0.001547, allocations: 105.4 kB / 18.35 MB, free: 4.723 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.001785/0.001786, allocations: 188.1 kB / 19.29 MB, free: 3.793 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.334/1.334, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001448/0.001448, allocations: 47.92 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08358/0.08504, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01573/0.1008, allocations: 15.85 MB / 344.6 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.1034, allocations: 1.908 MB / 346.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.1036, allocations: 7.938 kB / 346.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006194/0.1043, allocations: 163 kB / 346.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.1048, allocations: 314.2 kB / 347 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.1055, allocations: 287.4 kB / 347.3 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008387/0.1064, allocations: 0.8406 MB / 348.1 MB, free: 340 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.1066, allocations: 92.69 kB / 348.2 MB, free: 244 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008319/0.1074, allocations: 0.5097 MB / 348.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.1078, allocations: 278.9 kB / 349 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.1078, allocations: 32 kB / 349 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1079, allocations: 32 kB / 349 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1081, allocations: 95.77 kB / 349.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1082, allocations: 179.3 kB / 349.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.1086, allocations: 438.6 kB / 349.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1087, allocations: 0 / 349.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1087, allocations: 4 kB / 349.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1087, allocations: 0 / 349.7 MB, free: 14.69 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.0008955/0.1096, allocations: 0.5848 MB / 350.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1096, allocations: 11.97 kB / 350.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.1099, allocations: 40.64 kB / 350.4 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004721/0.1104, allocations: 283.7 kB / 350.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.1104, allocations: 24.94 kB / 350.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.1105, allocations: 28.31 kB / 350.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.1109, allocations: 299.9 kB / 351 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1109, allocations: 7.938 kB / 351 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.111, allocations: 8 kB / 351 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.111, allocations: 8 kB / 351 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.1113, allocations: 201.6 kB / 351.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.1129, allocations: 1.428 MB / 352.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.1132, allocations: 182.6 kB / 352.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.1134, allocations: 88.83 kB / 352.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.1134, allocations: 7.938 kB / 352.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1134, allocations: 34.56 kB / 352.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.1134, allocations: 3.938 kB / 352.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002394/0.1158, allocations: 0.9959 MB / 353.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.1159, allocations: 55.41 kB / 354 MB, free: 10.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1161, allocations: 262.5 kB / 354.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1162, allocations: 33.7 kB / 354.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1163, allocations: 180.2 kB / 354.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.1163, allocations: 90.66 kB / 354.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.747e-05/0.1165, allocations: 61.61 kB / 354.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1166, allocations: 342.8 kB / 354.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1167, allocations: 83.97 kB / 355 MB, free: 9.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.1169, allocations: 174.9 kB / 355.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.1173, allocations: 287 kB / 355.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1173, allocations: 0 / 355.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006429/0.1179, allocations: 383 kB / 355.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.118, allocations: 12 kB / 355.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.118, allocations: 7.938 kB / 355.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.1183, allocations: 57.67 kB / 355.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.1186, allocations: 71.91 kB / 356 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.1207, allocations: 2.878 MB / 358.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.1209, allocations: 15.92 kB / 358.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.1209, allocations: 20.06 kB / 358.9 MB, free: 4.75 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.000147/0.1211, allocations: 145.9 kB / 359.1 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.1212, allocations: 31.64 kB / 359.1 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.724e-05/0.1212, allocations: 42.17 kB / 359.1 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1212, allocations: 4 kB / 359.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1213, allocations: 0 / 359.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005871/0.1218, allocations: 0.5631 MB / 359.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.1229, allocations: 0.6992 MB / 360.4 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1229, allocations: 4 kB / 360.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.1231, allocations: 35.98 kB / 360.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002292/0.1233, allocations: 60.75 kB / 360.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.1234, allocations: 8 kB / 360.5 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.1245, allocations: 1.492 MB / 362 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1245, allocations: 3.938 kB / 362 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.1252, allocations: 469.8 kB / 362.5 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/0.1253, allocations: 101 kB / 362.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.1253, allocations: 8 kB / 362.6 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.1255, allocations: 4 kB / 362.6 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.1256, allocations: 27.89 kB / 362.6 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1256, allocations: 11.98 kB / 362.6 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002019/0.1258, allocations: 189.8 kB / 362.8 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1258, allocations: 4 kB / 362.8 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004386/0.1263, allocations: 88.06 kB / 362.9 MB, free: 448 kB / 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.0001321/0.1264, allocations: 104.5 kB / 363 MB, free: 336 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000749/0.1272, allocations: 478.3 kB / 363.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1272, allocations: 0 / 363.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.1276, allocations: 242.4 kB / 363.7 MB, free: 15.58 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008326/0.1284, allocations: 148.3 kB / 363.8 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.1296, allocations: 0.6973 MB / 364.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1299, allocations: 0.7721 MB / 365.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.1302, allocations: 50.95 kB / 365.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.1302, allocations: 27.44 kB / 365.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1302, allocations: 0 / 365.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of Templates: time 0.01002/0.1403, allocations: 5.664 MB / 371 MB, free: 8.176 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 -s gbode -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/jenkins1/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/jenkins1/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