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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 117.5 kB / 19.17 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 203.9 kB / 22.12 MB, free: 0.9805 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.294/1.294, allocations: 207.6 MB / 232.5 MB, free: 3.961 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 56.25 kB / 343 MB, free: 9.969 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08669/0.08841, allocations: 49.13 MB / 392.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01705/0.1055, allocations: 15.95 MB / 408.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.108, allocations: 1.908 MB / 410 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1081, allocations: 15.88 kB / 410 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.1087, allocations: 170.9 kB / 410.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005802/0.1093, allocations: 318.2 kB / 410.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.1099, allocations: 291.4 kB / 410.8 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008747/0.1108, allocations: 0.8407 MB / 411.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.111, allocations: 80.78 kB / 411.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008538/0.1118, allocations: 0.5214 MB / 412.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.1122, allocations: 290.9 kB / 412.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.1122, allocations: 28 kB / 412.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1124, allocations: 36 kB / 412.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1125, allocations: 95.66 kB / 412.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.1126, allocations: 179.3 kB / 412.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004759/0.1131, allocations: 438.4 kB / 413.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1131, allocations: 4 kB / 413.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1131, allocations: 4 kB / 413.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1131, allocations: 0 / 413.3 MB, free: 3.473 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.0009481/0.1141, allocations: 0.5845 MB / 413.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1141, allocations: 12.03 kB / 413.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.647e-05/0.1141, allocations: 8.75 kB / 413.9 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.441e-05/0.1142, allocations: 62.72 kB / 414 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.1145, allocations: 44.73 kB / 414 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.1149, allocations: 279.9 kB / 414.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1149, allocations: 20.94 kB / 414.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.324e-05/0.115, allocations: 32.06 kB / 414.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.1155, allocations: 299.7 kB / 414.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1155, allocations: 3.938 kB / 414.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.1155, allocations: 12 kB / 414.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1155, allocations: 8 kB / 414.6 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.1159, allocations: 197.6 kB / 414.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1175, allocations: 1.436 MB / 416.3 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.1179, allocations: 170.5 kB / 416.4 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.118, allocations: 96.89 kB / 416.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.118, allocations: 4 kB / 416.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1181, allocations: 30.56 kB / 416.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.1181, allocations: 3.938 kB / 416.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002458/0.1205, allocations: 1.004 MB / 417.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1206, allocations: 51.41 kB / 417.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.1208, allocations: 262.5 kB / 417.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.1209, allocations: 33.7 kB / 417.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.121, allocations: 188.5 kB / 418.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.1211, allocations: 99.11 kB / 418.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.1212, allocations: 61.7 kB / 418.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1214, allocations: 334.8 kB / 418.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1215, allocations: 79.97 kB / 418.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.1217, allocations: 186.9 kB / 418.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.1221, allocations: 286.9 kB / 419.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1221, allocations: 4 kB / 419.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006666/0.1228, allocations: 382.8 kB / 419.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1228, allocations: 11.98 kB / 419.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1228, allocations: 4.375 kB / 419.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.1231, allocations: 65.67 kB / 419.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.1233, allocations: 59.92 kB / 419.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/0.1258, allocations: 2.882 MB / 422.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.126, allocations: 8 kB / 422.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.126, allocations: 16 kB / 422.5 MB, free: 9.449 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.0001602/0.1262, allocations: 153.8 kB / 422.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.1262, allocations: 31.75 kB / 422.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.17e-05/0.1263, allocations: 38.19 kB / 422.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1263, allocations: 4 kB / 422.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1263, allocations: 7.922 kB / 422.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006333/0.127, allocations: 0.5513 MB / 423.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.128, allocations: 0.7152 MB / 424 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.128, allocations: 0 / 424 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.1282, allocations: 43.97 kB / 424.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.1285, allocations: 56.77 kB / 424.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.1285, allocations: 8 kB / 424.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.1298, allocations: 1.488 MB / 425.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1298, allocations: 7.969 kB / 425.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.1305, allocations: 470.5 kB / 426.1 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.1306, allocations: 101 kB / 426.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.1306, allocations: 4 kB / 426.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.1308, allocations: 8 kB / 426.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1308, allocations: 27.84 kB / 426.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1309, allocations: 8 kB / 426.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.131, allocations: 186 kB / 426.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.131, allocations: 0 / 426.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.1314, allocations: 88 kB / 426.5 MB, free: 5.141 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.001037/0.1325, allocations: 0.9951 MB / 427.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007746/0.1332, allocations: 473.7 kB / 428 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1332, allocations: 0 / 428 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.1336, allocations: 231.3 kB / 428.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008794/0.1345, allocations: 157.5 kB / 428.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/0.1386, allocations: 3.154 MB / 431.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.139, allocations: 0.7567 MB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.1392, allocations: 50.95 kB / 432.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.1394, allocations: 83.41 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1394, allocations: 4 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.1737, allocations: 8.867 MB / 441.3 MB, free: 6.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.81, allocations: 15.92 kB / 441.3 MB, free: 6.035 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.152915150043555]