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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 120 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 207.6 MB / 231.8 MB, free: 4.102 MB / 174.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001577/0.001577, allocations: 51.92 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08909/0.09067, allocations: 49.13 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.0169/0.1076, allocations: 15.94 MB / 407.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.1101, allocations: 1.908 MB / 409.3 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1102, allocations: 7.938 kB / 409.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.1107, allocations: 174.9 kB / 409.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.1113, allocations: 310.2 kB / 409.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.112, allocations: 295.3 kB / 410 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009665/0.113, allocations: 0.8368 MB / 410.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.1132, allocations: 84.77 kB / 411 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009987/0.1142, allocations: 0.5214 MB / 411.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.1146, allocations: 282.9 kB / 411.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.1146, allocations: 32 kB / 411.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1147, allocations: 39.98 kB / 411.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1149, allocations: 95.66 kB / 411.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.115, allocations: 183.2 kB / 412.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.1155, allocations: 434.5 kB / 412.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1155, allocations: 0 / 412.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1155, allocations: 4 kB / 412.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1156, allocations: 0 / 412.5 MB, free: 3.527 MB / 334.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.0009547/0.1165, allocations: 0.5923 MB / 413.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1165, allocations: 8.031 kB / 413.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.383e-05/0.1166, allocations: 58.73 kB / 413.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.1169, allocations: 44.73 kB / 413.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.1174, allocations: 283.8 kB / 413.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.1174, allocations: 24.94 kB / 413.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.1174, allocations: 24.38 kB / 413.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.118, allocations: 307.6 kB / 413.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.118, allocations: 0 / 413.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.118, allocations: 12 kB / 413.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.118, allocations: 8 kB / 413.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.1183, allocations: 197.6 kB / 414.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1201, allocations: 1.44 MB / 415.5 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.1204, allocations: 174.6 kB / 415.7 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1206, allocations: 84.78 kB / 415.8 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.1206, allocations: 11.92 kB / 415.8 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.1207, allocations: 34.64 kB / 415.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.1207, allocations: 0 / 415.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002522/0.1232, allocations: 1.004 MB / 416.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1232, allocations: 55.41 kB / 416.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1235, allocations: 258.6 kB / 417.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.1235, allocations: 33.7 kB / 417.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1237, allocations: 180.5 kB / 417.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.1237, allocations: 95.17 kB / 417.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.1238, allocations: 61.7 kB / 417.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.124, allocations: 338.8 kB / 417.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1241, allocations: 87.95 kB / 417.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.1244, allocations: 178.9 kB / 418.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.1248, allocations: 287 kB / 418.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.1248, allocations: 3.938 kB / 418.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007211/0.1255, allocations: 387.1 kB / 418.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1255, allocations: 11.97 kB / 418.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1255, allocations: 4 kB / 418.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.1258, allocations: 61.67 kB / 418.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.126, allocations: 71.84 kB / 418.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.1284, allocations: 2.875 MB / 421.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.1287, allocations: 20 kB / 421.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.1287, allocations: 11.98 kB / 421.8 MB, free: 9.504 MB / 350.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.0001712/0.1289, allocations: 153.7 kB / 421.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.1289, allocations: 31.81 kB / 422 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.129, allocations: 34.17 kB / 422 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.129, allocations: 4 kB / 422 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.129, allocations: 0 / 422 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006667/0.1297, allocations: 0.5668 MB / 422.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.1307, allocations: 0.6997 MB / 423.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1307, allocations: 0 / 423.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.1309, allocations: 47.92 kB / 423.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.1311, allocations: 52.81 kB / 423.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1312, allocations: 7.938 kB / 423.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.1324, allocations: 1.496 MB / 424.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1324, allocations: 0 / 424.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.1331, allocations: 478.7 kB / 425.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.1332, allocations: 101 kB / 425.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.1333, allocations: 8 kB / 425.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.1335, allocations: 0 / 425.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.1335, allocations: 19.97 kB / 425.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.1335, allocations: 15.92 kB / 425.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.1337, allocations: 186 kB / 425.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1337, allocations: 0 / 425.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003824/0.1341, allocations: 88.06 kB / 425.7 MB, free: 5.199 MB / 350.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.0009977/0.1351, allocations: 0.999 MB / 426.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007668/0.1358, allocations: 465 kB / 427.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1359, allocations: 0.75 kB / 427.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.1362, allocations: 235 kB / 427.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.1371, allocations: 157.5 kB / 427.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.1411, allocations: 3.154 MB / 430.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.1416, allocations: 0.7645 MB / 431.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002203/0.1418, allocations: 54.88 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.1419, allocations: 79.42 kB / 431.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1419, allocations: 4 kB / 431.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04253/0.1845, allocations: 8.816 MB / 440.5 MB, free: 6.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/11.96, allocations: 7.891 kB / 440.5 MB, free: 6.148 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.264283671043813]