Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 117.1 kB / 17.09 MB, free: 6.008 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.001144/0.001144, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.307/1.307, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2039/0.2039, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 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.001623/0.001623, allocations: 67.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1089, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4062/0.5152, allocations: 179.7 MB / 0.664 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.5254, allocations: 8.182 MB / 0.672 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006974/0.5262, allocations: 19.88 kB / 0.6721 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5273, allocations: 310 kB / 0.6723 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003837/0.5311, allocations: 1.492 MB / 0.6738 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.534, allocations: 1.146 MB / 0.6749 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002261/0.5363, allocations: 1.853 MB / 0.6767 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008229/0.5371, allocations: 461.2 kB / 0.6772 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.5398, allocations: 1.238 MB / 0.6784 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.541, allocations: 0.6617 MB / 0.679 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.5413, allocations: 60 kB / 0.6791 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.5432, allocations: 0.8309 MB / 0.6799 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003582/0.5436, allocations: 255.3 kB / 0.6801 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005828/0.5442, allocations: 390.2 kB / 0.6805 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.5463, allocations: 1.43 MB / 0.6819 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5463, allocations: 4 kB / 0.6819 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5463, allocations: 0 / 0.6819 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.065e-05/0.5464, allocations: 0 / 0.6819 GB, free: 4.426 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002509/0.5489, allocations: 1.122 MB / 0.683 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.5489, allocations: 8.031 kB / 0.683 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008996/0.5498, allocations: 139 kB / 0.6831 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008762/0.5507, allocations: 0.5352 MB / 0.6837 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.5508, allocations: 104.4 kB / 0.6838 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.672e-05/0.5509, allocations: 48 kB / 0.6838 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.5522, allocations: 0.8135 MB / 0.6846 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.5523, allocations: 4 kB / 0.6846 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.807e-05/0.5524, allocations: 28 kB / 0.6846 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/0.5524, allocations: 32.98 kB / 0.6847 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.5534, allocations: 0.6204 MB / 0.6853 GB, free: 0.8008 MB / 0.5137 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.004441/0.5579, allocations: 3.988 MB / 0.6892 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.5585, allocations: 351.1 kB / 0.6895 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.5588, allocations: 177.3 kB / 0.6897 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004426/0.5592, allocations: 365.4 kB / 0.69 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.5593, allocations: 46.78 kB / 0.6901 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.5593, allocations: 0 / 0.6901 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.0058/0.5651, allocations: 1.654 MB / 0.6917 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.5652, allocations: 144.4 kB / 0.6918 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007915/0.566, allocations: 0.6171 MB / 0.6924 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.566, allocations: 33.7 kB / 0.6925 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.5663, allocations: 359 kB / 0.6928 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.5665, allocations: 153.9 kB / 0.6929 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.5667, allocations: 154.5 kB / 0.6931 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.5669, allocations: 374.8 kB / 0.6935 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.5673, allocations: 209.8 kB / 0.6937 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/0.5679, allocations: 0.5086 MB / 0.6941 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.5689, allocations: 0.7563 MB / 0.6949 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5689, allocations: 4 kB / 0.6949 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00149/0.5704, allocations: 0.8727 MB / 0.6957 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.5704, allocations: 16.06 kB / 0.6958 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.5704, allocations: 11.98 kB / 0.6958 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.5718, allocations: 310 kB / 0.6961 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.5722, allocations: 119.8 kB / 0.6962 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.5733, allocations: 0.9347 MB / 0.6971 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.5738, allocations: 27.98 kB / 0.6971 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.5739, allocations: 68 kB / 0.6972 GB, free: 3.82 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003286/0.5742, allocations: 245.5 kB / 0.6974 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.5744, allocations: 71.19 kB / 0.6975 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.5757, allocations: 0.6855 MB / 0.6982 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5757, allocations: 4 kB / 0.6982 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5757, allocations: 0 / 0.6982 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.5757, allocations: 3.984 kB / 0.6982 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.578, allocations: 1.603 MB / 0.6997 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.578, allocations: 7.938 kB / 0.6997 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.579, allocations: 203.8 kB / 0.6999 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.058e-05/0.5791, allocations: 20.84 kB / 0.7 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.5792, allocations: 24.11 kB / 0.7 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.5813, allocations: 2.881 MB / 0.7028 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5813, allocations: 4.031 kB / 0.7028 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.5825, allocations: 0.8086 MB / 0.7036 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.5828, allocations: 196.1 kB / 0.7038 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.5829, allocations: 12 kB / 0.7038 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/0.5834, allocations: 15.98 kB / 0.7038 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.5835, allocations: 35.95 kB / 0.7038 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/0.5835, allocations: 43.98 kB / 0.7039 GB, free: 12.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005466/0.5841, allocations: 447 kB / 0.7043 GB, free: 12.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5841, allocations: 4.062 kB / 0.7043 GB, free: 12.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009598/0.5851, allocations: 288 kB / 0.7046 GB, free: 11.74 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000952/0.586, allocations: 378.9 kB / 0.7049 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.5872, allocations: 0.5437 MB / 0.7055 GB, free: 10.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5872, allocations: 4 kB / 0.7055 GB, free: 10.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000996/0.5882, allocations: 410.2 kB / 0.7059 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.59, allocations: 361.4 kB / 0.7062 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.5922, allocations: 1.346 MB / 0.7075 GB, free: 8.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.5928, allocations: 0.9222 MB / 0.7084 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.5931, allocations: 119.4 kB / 0.7085 GB, free: 7.605 MB / 0.545 GB Notification: Performance of SimCode: time 1.804e-06/0.5931, allocations: 0 / 0.7085 GB, free: 7.605 MB / 0.545 GB Notification: Performance of Templates: time 0.02499/0.6181, allocations: 17.1 MB / 0.7252 GB, free: 6.508 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches