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.002022/0.002022, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002604/0.002604, allocations: 161.7 kB / 23.52 MB, free: 0.918 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 1.536/1.536, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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.2242/0.2242, allocations: 32.38 MB / 270 MB, free: 14.77 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.4e-05, allocations: 2.312 kB / 347 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4995/0.4995, allocations: 170.4 MB / 0.5053 GB, free: 5.723 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.5156, allocations: 9.413 MB / 0.5145 GB, free: 12.29 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009876/0.5166, allocations: 31.75 kB / 0.5145 GB, free: 12.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.5179, allocations: 409.4 kB / 0.5149 GB, free: 11.85 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008917/0.5269, allocations: 2.682 MB / 0.5175 GB, free: 9.156 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009273/0.5361, allocations: 2.751 MB / 0.5202 GB, free: 6.395 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003928/0.5401, allocations: 2.231 MB / 0.5224 GB, free: 4.152 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.5417, allocations: 0.5411 MB / 0.5229 GB, free: 3.602 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006508/0.5482, allocations: 2.282 MB / 0.5251 GB, free: 1.312 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.55, allocations: 0.8494 MB / 0.526 GB, free: 472 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.5502, allocations: 92 kB / 0.526 GB, free: 380 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01138/0.5616, allocations: 4.783 MB / 0.5307 GB, free: 11.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009024/0.5625, allocations: 462.8 kB / 0.5312 GB, free: 11.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008497/0.5633, allocations: 399.2 kB / 0.5315 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.5756, allocations: 4.468 MB / 0.5359 GB, free: 6.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5756, allocations: 0 / 0.5359 GB, free: 6.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5757, allocations: 0 / 0.5359 GB, free: 6.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.5757, allocations: 0 / 0.5359 GB, free: 6.25 MB / 410.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.005348/0.581, allocations: 1.755 MB / 0.5376 GB, free: 4.457 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5811, allocations: 8.031 kB / 0.5376 GB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000634/0.5817, allocations: 191.2 kB / 0.5378 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.5829, allocations: 0.5836 MB / 0.5384 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.5831, allocations: 172.8 kB / 0.5385 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.5833, allocations: 79.94 kB / 0.5386 GB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.5858, allocations: 1.597 MB / 0.5402 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.5858, allocations: 0 / 0.5402 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.5859, allocations: 39.91 kB / 0.5402 GB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.586, allocations: 65.91 kB / 0.5403 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.5881, allocations: 1.155 MB / 0.5414 GB, free: 376 kB / 410.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.007444/0.5956, allocations: 3.722 MB / 0.545 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.5975, allocations: 0.7896 MB / 0.5458 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.5983, allocations: 406.5 kB / 0.5462 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.5993, allocations: 330.3 kB / 0.5465 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.5994, allocations: 39.22 kB / 0.5465 GB, free: 10.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 2.675e-06/0.5994, allocations: 7.875 kB / 0.5466 GB, free: 10.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=82): time 0.0152/0.6146, allocations: 3.971 MB / 0.5504 GB, free: 6.977 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.6147, allocations: 115.5 kB / 0.5505 GB, free: 6.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.6157, allocations: 0.5416 MB / 0.5511 GB, free: 6.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.6158, allocations: 45.7 kB / 0.5511 GB, free: 6.238 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005636/0.6164, allocations: 404.3 kB / 0.5515 GB, free: 5.836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.6167, allocations: 301.4 kB / 0.5518 GB, free: 5.539 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003895/0.6171, allocations: 194.6 kB / 0.552 GB, free: 5.344 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.6174, allocations: 374.8 kB / 0.5523 GB, free: 4.969 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.6185, allocations: 0.4899 MB / 0.5528 GB, free: 4.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.62, allocations: 0.8064 MB / 0.5536 GB, free: 3.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.6226, allocations: 1.293 MB / 0.5549 GB, free: 2.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.6226, allocations: 0 / 0.5549 GB, free: 2.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003968/0.6265, allocations: 1.7 MB / 0.5565 GB, free: 448 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.6266, allocations: 15.88 kB / 0.5565 GB, free: 432 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.6266, allocations: 8 kB / 0.5565 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007908/0.6345, allocations: 1.328 MB / 0.5578 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.6353, allocations: 159.7 kB / 0.558 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.6385, allocations: 1.549 MB / 0.5595 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.6395, allocations: 52.02 kB / 0.5596 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.6396, allocations: 59.97 kB / 0.5596 GB, free: 13.24 MB / 442.7 MB 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.0006481/0.6403, allocations: 297.5 kB / 0.5599 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.6406, allocations: 107.5 kB / 0.56 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.6444, allocations: 1.621 MB / 0.5616 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.6444, allocations: 11.98 kB / 0.5616 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6444, allocations: 0 / 0.5616 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6444, allocations: 7.984 kB / 0.5616 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004949/0.6494, allocations: 2.293 MB / 0.5638 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.6494, allocations: 0 / 0.5638 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.6508, allocations: 255.7 kB / 0.5641 GB, free: 8.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.6527, allocations: 380.4 kB / 0.5644 GB, free: 8.211 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-05/0.6528, allocations: 35.92 kB / 0.5645 GB, free: 8.176 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.6561, allocations: 2.229 MB / 0.5667 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.6561, allocations: 7.969 kB / 0.5667 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004401/0.6605, allocations: 2.035 MB / 0.5687 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/0.6611, allocations: 195.4 kB / 0.5688 GB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.6613, allocations: 27.98 kB / 0.5689 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/0.6621, allocations: 55.95 kB / 0.5689 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.6623, allocations: 68.91 kB / 0.569 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.6624, allocations: 51.97 kB / 0.569 GB, free: 3.355 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005797/0.663, allocations: 386.8 kB / 0.5694 GB, free: 2.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.663, allocations: 0 / 0.5694 GB, free: 2.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002283/0.6653, allocations: 0.7168 MB / 0.5701 GB, free: 2.262 MB / 442.7 MB 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.002453/0.6678, allocations: 0.968 MB / 0.571 GB, free: 1.297 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003171/0.6709, allocations: 1.196 MB / 0.5722 GB, free: 108 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.6709, allocations: 4 kB / 0.5722 GB, free: 104 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.6729, allocations: 0.6861 MB / 0.5729 GB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.6751, allocations: 457 kB / 0.5733 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.68, allocations: 2.061 MB / 0.5753 GB, free: 12.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.6806, allocations: 455.2 kB / 0.5758 GB, free: 12.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001097/0.6817, allocations: 293.4 kB / 0.5761 GB, free: 12.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.682, allocations: 100.5 kB / 0.5761 GB, free: 12.02 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/0.682, allocations: 0 / 0.5761 GB, free: 12.02 MB / 458.7 MB Notification: Performance of Templates: time 0.2164/0.8983, allocations: 32.87 MB / 0.6083 GB, free: 203.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] 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: 7.304378011962399]