Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 181 kB / 16.08 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.6 MB / 222.4 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007787/0.0007787, allocations: 82.28 kB / 270.8 MB, free: 13.21 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.202/0.202, allocations: 43.69 MB / 362.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002959, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 58.86 MB / 491.2 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4211/0.5342, allocations: 173.6 MB / 0.6492 GB, free: 11.57 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.5462, allocations: 12.07 MB / 0.661 GB, free: 14.51 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008444/0.5471, allocations: 23.81 kB / 0.661 GB, free: 14.49 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008717/0.548, allocations: 266.5 kB / 0.6613 GB, free: 14.23 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.5517, allocations: 1.315 MB / 0.6626 GB, free: 12.91 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.5546, allocations: 1.01 MB / 0.6636 GB, free: 11.89 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003034/0.5577, allocations: 2.706 MB / 0.6662 GB, free: 9.184 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006783/0.5584, allocations: 399.7 kB / 0.6666 GB, free: 8.789 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.5612, allocations: 1.121 MB / 0.6677 GB, free: 7.664 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009944/0.5622, allocations: 0.6812 MB / 0.6684 GB, free: 6.98 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.5623, allocations: 32 kB / 0.6684 GB, free: 6.949 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.5641, allocations: 0.6512 MB / 0.669 GB, free: 6.297 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.5643, allocations: 235.3 kB / 0.6692 GB, free: 6.066 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.5648, allocations: 395.9 kB / 0.6696 GB, free: 5.672 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.5666, allocations: 1.379 MB / 0.671 GB, free: 4.289 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.5666, allocations: 0 / 0.671 GB, free: 4.289 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5666, allocations: 3.938 kB / 0.671 GB, free: 4.285 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.5666, allocations: 0 / 0.671 GB, free: 4.285 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00214/0.5688, allocations: 0.9777 MB / 0.6719 GB, free: 3.258 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5689, allocations: 16.03 kB / 0.6719 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008078/0.5697, allocations: 135.1 kB / 0.6721 GB, free: 3.109 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.5705, allocations: 0.504 MB / 0.6726 GB, free: 2.562 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.5706, allocations: 100.4 kB / 0.6727 GB, free: 2.453 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/0.5707, allocations: 48 kB / 0.6727 GB, free: 2.406 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.572, allocations: 0.8175 MB / 0.6735 GB, free: 1.512 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.572, allocations: 0 / 0.6735 GB, free: 1.512 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.5721, allocations: 27.94 kB / 0.6735 GB, free: 1.484 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.5722, allocations: 36.98 kB / 0.6736 GB, free: 1.449 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.5733, allocations: 0.6127 MB / 0.6742 GB, free: 0.8359 MB / 474.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.004634/0.5779, allocations: 3.981 MB / 0.6781 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/0.5785, allocations: 360.1 kB / 0.6784 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.5788, allocations: 165.3 kB / 0.6786 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000464/0.5792, allocations: 369.4 kB / 0.6789 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5793, allocations: 34.84 kB / 0.6789 GB, free: 11.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.5793, allocations: 0 / 0.6789 GB, free: 11.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005339/0.5846, allocations: 1.663 MB / 0.6806 GB, free: 9.883 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.5848, allocations: 140.5 kB / 0.6807 GB, free: 9.715 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.5855, allocations: 0.6093 MB / 0.6813 GB, free: 9.098 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.5855, allocations: 37.7 kB / 0.6813 GB, free: 9.055 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.5858, allocations: 358.9 kB / 0.6817 GB, free: 8.699 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.5859, allocations: 146 kB / 0.6818 GB, free: 8.555 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.586, allocations: 16 kB / 0.6818 GB, free: 8.539 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.5862, allocations: 374.8 kB / 0.6822 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.5866, allocations: 205.8 kB / 0.6824 GB, free: 7.965 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.5872, allocations: 0.5086 MB / 0.6829 GB, free: 7.309 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009666/0.5881, allocations: 0.7407 MB / 0.6836 GB, free: 6.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5882, allocations: 4 kB / 0.6836 GB, free: 6.426 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001407/0.5896, allocations: 0.8759 MB / 0.6845 GB, free: 5.539 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5896, allocations: 12.22 kB / 0.6845 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.5896, allocations: 12 kB / 0.6845 GB, free: 5.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.591, allocations: 326.6 kB / 0.6848 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.5914, allocations: 123.8 kB / 0.6849 GB, free: 5.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.5925, allocations: 0.9308 MB / 0.6858 GB, free: 4.117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.5931, allocations: 39.98 kB / 0.6859 GB, free: 4.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/0.5932, allocations: 67.98 kB / 0.6859 GB, free: 4.012 MB / 490.7 MB 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.0003447/0.5935, allocations: 245.7 kB / 0.6862 GB, free: 3.762 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.5936, allocations: 79.08 kB / 0.6862 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.5951, allocations: 0.6627 MB / 0.6869 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5951, allocations: 8 kB / 0.6869 GB, free: 2.988 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.5952, allocations: 7.984 kB / 0.6869 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5952, allocations: 0 / 0.6869 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.5974, allocations: 1.614 MB / 0.6885 GB, free: 1.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5974, allocations: 7.938 kB / 0.6885 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.5984, allocations: 207.8 kB / 0.6887 GB, free: 1.012 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.322e-05/0.5985, allocations: 28.78 kB / 0.6887 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.5986, allocations: 12 kB / 0.6887 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.6006, allocations: 2.688 MB / 0.6913 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6006, allocations: 11.95 kB / 0.6914 GB, free: 14.01 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.6018, allocations: 0.7998 MB / 0.6921 GB, free: 13.18 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.6021, allocations: 188.3 kB / 0.6923 GB, free: 12.97 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.676e-05/0.6022, allocations: 15.94 kB / 0.6923 GB, free: 12.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.6026, allocations: 27.95 kB / 0.6924 GB, free: 12.93 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.6027, allocations: 39.89 kB / 0.6924 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.549e-05/0.6028, allocations: 47.97 kB / 0.6924 GB, free: 12.84 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0005258/0.6033, allocations: 431 kB / 0.6928 GB, free: 12.43 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6034, allocations: 3.938 kB / 0.6929 GB, free: 12.42 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0009365/0.6043, allocations: 292 kB / 0.6931 GB, free: 12.14 MB / 0.4949 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.000887/0.6052, allocations: 385.5 kB / 0.6935 GB, free: 11.76 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.6063, allocations: 0.5359 MB / 0.694 GB, free: 11.22 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6063, allocations: 3.859 kB / 0.694 GB, free: 11.22 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0009698/0.6073, allocations: 422.7 kB / 0.6944 GB, free: 10.79 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.609, allocations: 349.2 kB / 0.6948 GB, free: 10.45 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.6112, allocations: 1.624 MB / 0.6963 GB, free: 8.797 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.6117, allocations: 0.9261 MB / 0.6973 GB, free: 7.844 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001023/0.6128, allocations: 262 kB / 0.6975 GB, free: 7.586 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.6131, allocations: 103.4 kB / 0.6976 GB, free: 7.484 MB / 0.4949 GB Notification: Performance of SimCode: time 1.764e-06/0.6131, allocations: 0 / 0.6976 GB, free: 7.484 MB / 0.4949 GB Notification: Performance of Templates: time 0.2122/0.8253, allocations: 17.66 MB / 0.7148 GB, free: 184.5 MB / 0.4949 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches