Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.7 MB / 243.9 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007588/0.000759, allocations: 97.47 kB / 295 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3272/0.3272, allocations: 44.32 MB / 390.5 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 8 kB / 463.1 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3197, allocations: 61.91 MB / 0.5127 GB, free: 38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.184/0.5037, allocations: 167.6 MB / 0.6764 GB, free: 4.277 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3131/0.8169, allocations: 7.668 MB / 0.6839 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.8182, allocations: 25.41 kB / 0.6839 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008548/0.819, allocations: 272.4 kB / 0.6842 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.8221, allocations: 1.121 MB / 0.6853 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.8245, allocations: 0.8548 MB / 0.6861 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002961/0.8275, allocations: 2.713 MB / 0.6888 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006052/0.8281, allocations: 398 kB / 0.6892 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.8302, allocations: 0.9745 MB / 0.6901 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009578/0.8312, allocations: 0.6782 MB / 0.6908 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.918e-05/0.8313, allocations: 33.53 kB / 0.6908 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.8327, allocations: 0.4967 MB / 0.6913 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.8329, allocations: 236.7 kB / 0.6915 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.8334, allocations: 397.9 kB / 0.6919 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.8349, allocations: 1.258 MB / 0.6931 GB, free: 13.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8349, allocations: 0 / 0.6931 GB, free: 13.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.8349, allocations: 0 / 0.6931 GB, free: 13.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.835, allocations: 2.125 kB / 0.6931 GB, free: 13.19 MB / 490.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.001842/0.8368, allocations: 0.9464 MB / 0.694 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8369, allocations: 9 kB / 0.6941 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.8376, allocations: 137.3 kB / 0.6942 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.8383, allocations: 0.5047 MB / 0.6947 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.8385, allocations: 105.8 kB / 0.6948 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.8385, allocations: 47.58 kB / 0.6948 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.8397, allocations: 0.8177 MB / 0.6956 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.8398, allocations: 9.219 kB / 0.6956 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.8399, allocations: 19.75 kB / 0.6957 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/0.8399, allocations: 40.78 kB / 0.6957 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009621/0.8409, allocations: 0.6142 MB / 0.6963 GB, free: 12 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.003692/0.8446, allocations: 3.96 MB / 0.7002 GB, free: 9.375 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.8451, allocations: 354.7 kB / 0.7005 GB, free: 9.348 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.8454, allocations: 171 kB / 0.7007 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.8455, allocations: 96.22 kB / 0.7007 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.8456, allocations: 40.53 kB / 0.7008 GB, free: 9.199 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.8456, allocations: 6.906 kB / 0.7008 GB, free: 9.195 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.005105/0.8507, allocations: 1.665 MB / 0.7024 GB, free: 8.676 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.8507, allocations: 134.9 kB / 0.7025 GB, free: 8.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006924/0.8514, allocations: 0.6061 MB / 0.7031 GB, free: 8.383 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.8515, allocations: 34.45 kB / 0.7032 GB, free: 8.352 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.8517, allocations: 369.5 kB / 0.7035 GB, free: 8.156 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.8518, allocations: 145.8 kB / 0.7037 GB, free: 8.066 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.8519, allocations: 15.55 kB / 0.7037 GB, free: 8.066 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.852, allocations: 376.5 kB / 0.704 GB, free: 7.754 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.8523, allocations: 200.4 kB / 0.7042 GB, free: 7.754 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.8528, allocations: 0.5073 MB / 0.7047 GB, free: 7.359 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007973/0.8536, allocations: 0.7448 MB / 0.7055 GB, free: 6.977 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.8536, allocations: 2.344 kB / 0.7055 GB, free: 6.977 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001459/0.8551, allocations: 0.8864 MB / 0.7063 GB, free: 6.883 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.8551, allocations: 10.53 kB / 0.7063 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.8551, allocations: 10.53 kB / 0.7063 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.8566, allocations: 316.3 kB / 0.7066 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.8571, allocations: 121.7 kB / 0.7068 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.8584, allocations: 0.929 MB / 0.7077 GB, free: 6.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/0.8591, allocations: 44.66 kB / 0.7077 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.8592, allocations: 69.88 kB / 0.7078 GB, free: 6.336 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.0004144/0.8596, allocations: 245.2 kB / 0.708 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.8597, allocations: 69.06 kB / 0.7081 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.8619, allocations: 0.8762 MB / 0.7089 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.8619, allocations: 6.406 kB / 0.7089 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8619, allocations: 4.562 kB / 0.7089 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.8619, allocations: 2.578 kB / 0.7089 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.8641, allocations: 1.452 MB / 0.7104 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.8641, allocations: 1.969 kB / 0.7104 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.8653, allocations: 207.3 kB / 0.7106 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-05/0.8654, allocations: 26.81 kB / 0.7106 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/0.8654, allocations: 21.36 kB / 0.7106 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.867, allocations: 2.689 MB / 0.7132 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.867, allocations: 2.594 kB / 0.7132 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.8683, allocations: 0.8168 MB / 0.714 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.8686, allocations: 190 kB / 0.7142 GB, free: 2.434 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.8687, allocations: 13.78 kB / 0.7142 GB, free: 2.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.8692, allocations: 31.72 kB / 0.7143 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.8693, allocations: 43.25 kB / 0.7143 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/0.8694, allocations: 47.41 kB / 0.7143 GB, free: 2.418 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007496/0.8701, allocations: 438.5 kB / 0.7148 GB, free: 2.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8701, allocations: 0 / 0.7148 GB, free: 2.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001231/0.8714, allocations: 257.5 kB / 0.715 GB, free: 2.305 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0008119/0.8722, allocations: 309.1 kB / 0.7153 GB, free: 2.184 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.8735, allocations: 0.5505 MB / 0.7158 GB, free: 2.164 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.8735, allocations: 1.656 kB / 0.7158 GB, free: 2.164 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.8745, allocations: 415.5 kB / 0.7162 GB, free: 2.051 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.8763, allocations: 348.1 kB / 0.7166 GB, free: 2.023 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.8787, allocations: 1.642 MB / 0.7182 GB, free: 1.191 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.8792, allocations: 0.9289 MB / 0.7191 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001375/0.8806, allocations: 465.1 kB / 0.7195 GB, free: 16.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.881, allocations: 112.2 kB / 0.7196 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.881, allocations: 0 / 0.7196 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.02744/0.9085, allocations: 16.75 MB / 0.736 GB, free: 10.14 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches