Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.0007625/0.0007625, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008543/0.0008543, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.844/0.844, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.131/0.131, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 406.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.236e-05, allocations: 5.938 kB / 406.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3871/0.3872, allocations: 170.4 MB / 0.5638 GB, free: 13.81 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009009/0.3962, allocations: 9.396 MB / 0.573 GB, free: 6.551 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004516/0.3966, allocations: 29.78 kB / 0.573 GB, free: 6.531 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.3977, allocations: 418.7 kB / 0.5734 GB, free: 6.195 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.4024, allocations: 2.68 MB / 0.576 GB, free: 4.262 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005149/0.4076, allocations: 2.756 MB / 0.5787 GB, free: 2.301 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.4092, allocations: 2.24 MB / 0.5809 GB, free: 1.012 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.4097, allocations: 0.5142 MB / 0.5814 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.4129, allocations: 2.27 MB / 0.5836 GB, free: 14.35 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008536/0.4137, allocations: 0.8542 MB / 0.5844 GB, free: 13.5 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.946e-05/0.4138, allocations: 92 kB / 0.5845 GB, free: 13.41 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00666/0.4205, allocations: 4.787 MB / 0.5892 GB, free: 8.609 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.4208, allocations: 458.8 kB / 0.5896 GB, free: 8.16 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.4211, allocations: 403.2 kB / 0.59 GB, free: 7.766 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004303/0.4254, allocations: 4.449 MB / 0.5944 GB, free: 3.305 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4254, allocations: 4 kB / 0.5944 GB, free: 3.301 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4254, allocations: 0 / 0.5944 GB, free: 3.301 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.4254, allocations: 0 / 0.5944 GB, free: 3.301 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002593/0.428, allocations: 1.755 MB / 0.5961 GB, free: 1.504 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4281, allocations: 15.12 kB / 0.5961 GB, free: 1.492 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.4282, allocations: 122.5 kB / 0.5962 GB, free: 1.363 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.4285, allocations: 127.3 kB / 0.5963 GB, free: 1.238 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.4292, allocations: 0.5567 MB / 0.5969 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.4293, allocations: 168.8 kB / 0.597 GB, free: 476 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.092e-05/0.4294, allocations: 71.98 kB / 0.5971 GB, free: 404 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.431, allocations: 1.597 MB / 0.5987 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.431, allocations: 0 / 0.5987 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.349e-05/0.4311, allocations: 32 kB / 0.5987 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.4311, allocations: 57.97 kB / 0.5988 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.4323, allocations: 1.159 MB / 0.5999 GB, free: 13.39 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/0.4369, allocations: 3.835 MB / 0.6036 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.438, allocations: 0.7803 MB / 0.6044 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/0.4384, allocations: 413.3 kB / 0.6048 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005335/0.4389, allocations: 334.8 kB / 0.6051 GB, free: 7.949 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.439, allocations: 47.16 kB / 0.6051 GB, free: 7.895 MB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 1.813e-06/0.439, allocations: 4 kB / 0.6052 GB, free: 7.891 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.007313/0.4463, allocations: 3.959 MB / 0.609 GB, free: 3.914 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.4464, allocations: 111.5 kB / 0.6091 GB, free: 3.781 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.4469, allocations: 0.6796 MB / 0.6098 GB, free: 3.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.447, allocations: 41.7 kB / 0.6098 GB, free: 3.043 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.4472, allocations: 392.4 kB / 0.6102 GB, free: 2.656 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.4474, allocations: 293.5 kB / 0.6105 GB, free: 2.367 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.4476, allocations: 202.5 kB / 0.6107 GB, free: 2.164 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4477, allocations: 394.8 kB / 0.6111 GB, free: 1.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.4483, allocations: 497.6 kB / 0.6115 GB, free: 1.281 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/0.449, allocations: 0.8025 MB / 0.6123 GB, free: 360 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.4504, allocations: 1.293 MB / 0.6136 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4504, allocations: 0 / 0.6136 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002007/0.4524, allocations: 1.673 MB / 0.6152 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.4524, allocations: 8 kB / 0.6152 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4524, allocations: 8 kB / 0.6152 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/0.456, allocations: 1.334 MB / 0.6165 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.4563, allocations: 155.7 kB / 0.6167 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.458, allocations: 1.53 MB / 0.6182 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.4583, allocations: 52.02 kB / 0.6182 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/0.4584, allocations: 59.97 kB / 0.6183 GB, free: 10.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0003264/0.4587, allocations: 301.4 kB / 0.6186 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.4589, allocations: 91.58 kB / 0.6186 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.4609, allocations: 1.642 MB / 0.6203 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.4609, allocations: 8 kB / 0.6203 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4609, allocations: 3.984 kB / 0.6203 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.4609, allocations: 3.984 kB / 0.6203 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.464, allocations: 2.379 MB / 0.6226 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.464, allocations: 8.562 kB / 0.6226 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.4647, allocations: 263.6 kB / 0.6228 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008185/0.4655, allocations: 372.4 kB / 0.6232 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.4655, allocations: 39.97 kB / 0.6232 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.467, allocations: 2.247 MB / 0.6254 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.467, allocations: 4.031 kB / 0.6254 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.4692, allocations: 2.012 MB / 0.6274 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.4695, allocations: 227.2 kB / 0.6276 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.4696, allocations: 27.92 kB / 0.6276 GB, free: 240 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.4699, allocations: 55.95 kB / 0.6277 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.47, allocations: 64.88 kB / 0.6278 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/0.4701, allocations: 47.97 kB / 0.6278 GB, free: 72 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000413/0.4705, allocations: 0.5029 MB / 0.6283 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.4705, allocations: 0 / 0.6283 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001625/0.4721, allocations: 0.7091 MB / 0.629 GB, free: 14.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004139/0.4763, allocations: 3.439 MB / 0.6324 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.4778, allocations: 1.189 MB / 0.6335 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4778, allocations: 4 kB / 0.6335 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009593/0.4788, allocations: 0.6938 MB / 0.6342 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4801, allocations: 0.5204 MB / 0.6347 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.4913, allocations: 9.614 MB / 0.6441 GB, free: 15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.4916, allocations: 459.7 kB / 0.6445 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007139/0.4923, allocations: 311.9 kB / 0.6448 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.4927, allocations: 344.3 kB / 0.6452 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.804e-06/0.4927, allocations: 0 / 0.6452 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.261/0.7537, allocations: 46.84 MB / 0.6909 GB, free: 199.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.389/9.143, allocations: 6.391 kB / 0.6909 GB, free: 199.4 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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: 11.474223504774272]