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.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 97.7 kB / 15.98 MB, free: 6.355 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.001416/0.001416, allocations: 202.3 kB / 16.91 MB, free: 6.195 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.492/1.492, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4018/0.4018, allocations: 43.49 MB / 313.6 MB, free: 8.535 MB / 254.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.001407/0.001407, allocations: 63.91 kB / 382.2 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.127, allocations: 57.79 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4183/0.5453, allocations: 194.7 MB / 0.6198 GB, free: 9.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2826/0.828, allocations: 10.32 MB / 0.6299 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.8294, allocations: 28.19 kB / 0.6299 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.8307, allocations: 394.8 kB / 0.6303 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006189/0.8369, allocations: 2.373 MB / 0.6326 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005499/0.8424, allocations: 2.436 MB / 0.635 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.8448, allocations: 2.198 MB / 0.6371 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007987/0.8456, allocations: 0.5903 MB / 0.6377 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004572/0.8502, allocations: 1.919 MB / 0.6396 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.8513, allocations: 0.9214 MB / 0.6405 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.8515, allocations: 94.19 kB / 0.6406 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0101/0.8616, allocations: 5.766 MB / 0.6462 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008673/0.8625, allocations: 430.8 kB / 0.6466 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.8642, allocations: 0.534 MB / 0.6471 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.8787, allocations: 4.212 MB / 0.6512 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.8788, allocations: 0 / 0.6512 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.8788, allocations: 1.766 kB / 0.6513 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.252e-05/0.8789, allocations: 0.8438 kB / 0.6513 GB, free: 0.8789 MB / 494.1 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.01045/0.8894, allocations: 1.785 MB / 0.653 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.452e-05/0.8895, allocations: 15.28 kB / 0.653 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.8908, allocations: 111.8 kB / 0.6531 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/0.8934, allocations: 0.5986 MB / 0.6537 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.8938, allocations: 121.2 kB / 0.6538 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/0.8943, allocations: 75.38 kB / 0.6539 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.898, allocations: 1.165 MB / 0.655 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/0.898, allocations: 4.125 kB / 0.655 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.8983, allocations: 35.03 kB / 0.6551 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/0.8984, allocations: 61.28 kB / 0.6551 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.9012, allocations: 1.167 MB / 0.6563 GB, free: 15.39 MB / 0.4981 GB 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.007824/0.9091, allocations: 4.998 MB / 0.6611 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.9108, allocations: 0.8235 MB / 0.6619 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/0.9115, allocations: 433.4 kB / 0.6624 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/0.9131, allocations: 1.888 MB / 0.6642 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.9132, allocations: 43.34 kB / 0.6642 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 2.485e-06/0.9132, allocations: 1.469 kB / 0.6642 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01357/0.9267, allocations: 4.021 MB / 0.6682 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.9268, allocations: 118.7 kB / 0.6683 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.9279, allocations: 0.6608 MB / 0.6689 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.928, allocations: 41.39 kB / 0.669 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.9283, allocations: 382.6 kB / 0.6693 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.9286, allocations: 295.8 kB / 0.6696 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.929, allocations: 202.7 kB / 0.6698 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.9291, allocations: 389 kB / 0.6702 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009346/0.9301, allocations: 498.9 kB / 0.6707 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.9312, allocations: 0.7571 MB / 0.6714 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.9332, allocations: 1.285 MB / 0.6727 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.9333, allocations: 2.469 kB / 0.6727 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0033/0.9366, allocations: 1.681 MB / 0.6743 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.9366, allocations: 11.47 kB / 0.6743 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.9366, allocations: 14 kB / 0.6743 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006974/0.9436, allocations: 1.333 MB / 0.6756 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.9442, allocations: 155.8 kB / 0.6758 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.9467, allocations: 1.538 MB / 0.6773 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.948, allocations: 87.34 kB / 0.6774 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.9481, allocations: 59.39 kB / 0.6774 GB, free: 8 MB / 0.4981 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.0006828/0.9488, allocations: 304.6 kB / 0.6777 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.9492, allocations: 85.88 kB / 0.6778 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/0.9528, allocations: 1.639 MB / 0.6794 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.9528, allocations: 11.56 kB / 0.6794 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.9528, allocations: 0 / 0.6794 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.9528, allocations: 3.984 kB / 0.6794 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005033/0.9579, allocations: 2.555 MB / 0.6819 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.9579, allocations: 2.906 kB / 0.6819 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.9592, allocations: 257.3 kB / 0.6821 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001772/0.9609, allocations: 388.8 kB / 0.6825 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.9611, allocations: 33.14 kB / 0.6825 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003226/0.9643, allocations: 2.348 MB / 0.6848 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.9643, allocations: 2.438 kB / 0.6848 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004551/0.9689, allocations: 2.021 MB / 0.6868 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.9699, allocations: 288.1 kB / 0.6871 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003854/0.9703, allocations: 34.64 kB / 0.6871 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.9717, allocations: 67.47 kB / 0.6872 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.9719, allocations: 68.41 kB / 0.6873 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/0.9721, allocations: 49.66 kB / 0.6873 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009342/0.9731, allocations: 0.4976 MB / 0.6878 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.9731, allocations: 0 / 0.6878 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003769/0.9768, allocations: 0.7067 MB / 0.6885 GB, free: 2.906 MB / 0.4981 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.004083/0.9809, allocations: 0.9156 MB / 0.6894 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003688/0.9846, allocations: 1.444 MB / 0.6908 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.9847, allocations: 3.844 kB / 0.6908 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.9866, allocations: 0.7123 MB / 0.6915 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/0.9895, allocations: 0.5167 MB / 0.692 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.9948, allocations: 2.478 MB / 0.6944 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/0.9956, allocations: 1.051 MB / 0.6954 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001424/0.9971, allocations: 307.9 kB / 0.6957 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/0.9975, allocations: 104.1 kB / 0.6958 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of SimCode: time 1.392e-06/0.9975, allocations: 0 / 0.6958 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of Templates: time 0.05764/1.055, allocations: 35.98 MB / 0.731 GB, free: 8.715 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches