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.001206/0.001207, allocations: 111.6 kB / 17.04 MB, free: 5.812 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.00121/0.00121, allocations: 195 kB / 17.97 MB, free: 5.027 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.38/1.38, allocations: 205.1 MB / 223.8 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.2062/0.2062, allocations: 43.52 MB / 314.7 MB, free: 488 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.001463/0.001463, allocations: 65.25 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1072, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.453/0.5602, allocations: 179.7 MB / 0.6071 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.571, allocations: 8.183 MB / 0.6151 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007876/0.5718, allocations: 17.66 kB / 0.6151 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009636/0.5728, allocations: 315.4 kB / 0.6154 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003764/0.5766, allocations: 1.488 MB / 0.6169 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.5797, allocations: 1.153 MB / 0.618 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.5818, allocations: 1.842 MB / 0.6198 GB, free: 476 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005855/0.5824, allocations: 464.2 kB / 0.6202 GB, free: 168 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.585, allocations: 1.229 MB / 0.6214 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008844/0.5859, allocations: 0.661 MB / 0.6221 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.586, allocations: 59.66 kB / 0.6221 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.5877, allocations: 0.8305 MB / 0.6229 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.588, allocations: 259.6 kB / 0.6232 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.5884, allocations: 395 kB / 0.6236 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.59, allocations: 1.424 MB / 0.625 GB, free: 13.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5901, allocations: 0 / 0.625 GB, free: 13.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5901, allocations: 3.938 kB / 0.625 GB, free: 13.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.5901, allocations: 4 kB / 0.625 GB, free: 13.09 MB / 446.1 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.002212/0.5923, allocations: 1.122 MB / 0.6261 GB, free: 11.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5924, allocations: 12.03 kB / 0.6261 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008365/0.5932, allocations: 135.1 kB / 0.6262 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008903/0.5941, allocations: 0.543 MB / 0.6267 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-05/0.5942, allocations: 96.41 kB / 0.6268 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/0.5943, allocations: 51.98 kB / 0.6269 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.5955, allocations: 0.8136 MB / 0.6277 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.5955, allocations: 0 / 0.6277 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/0.5956, allocations: 24 kB / 0.6277 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/0.5957, allocations: 40.92 kB / 0.6277 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009697/0.5966, allocations: 0.6205 MB / 0.6283 GB, free: 9.461 MB / 446.1 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.004525/0.6012, allocations: 3.974 MB / 0.6322 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.6018, allocations: 352.8 kB / 0.6326 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.602, allocations: 173.3 kB / 0.6327 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/0.6025, allocations: 365.4 kB / 0.6331 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.6025, allocations: 42.83 kB / 0.6331 GB, free: 4.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.6026, allocations: 0 / 0.6331 GB, free: 4.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005501/0.6081, allocations: 1.669 MB / 0.6347 GB, free: 2.508 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.6082, allocations: 132.5 kB / 0.6349 GB, free: 2.348 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007614/0.6089, allocations: 0.6249 MB / 0.6355 GB, free: 1.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.609, allocations: 33.7 kB / 0.6355 GB, free: 1.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.6093, allocations: 363 kB / 0.6359 GB, free: 1.316 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.6094, allocations: 145.9 kB / 0.636 GB, free: 1.172 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.6096, allocations: 158.5 kB / 0.6361 GB, free: 1.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6098, allocations: 374.8 kB / 0.6365 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.6101, allocations: 197.9 kB / 0.6367 GB, free: 456 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/0.6108, allocations: 0.5164 MB / 0.6372 GB, free: 15.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009736/0.6118, allocations: 0.7526 MB / 0.6379 GB, free: 14.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6118, allocations: 0 / 0.6379 GB, free: 14.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00147/0.6133, allocations: 0.8795 MB / 0.6388 GB, free: 14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.6133, allocations: 8 kB / 0.6388 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.6133, allocations: 12.84 kB / 0.6388 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.6147, allocations: 319.6 kB / 0.6391 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.6151, allocations: 127.8 kB / 0.6392 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.6163, allocations: 0.923 MB / 0.6401 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.6168, allocations: 32.03 kB / 0.6402 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/0.6169, allocations: 71.92 kB / 0.6402 GB, free: 12.49 MB / 462.1 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.0003402/0.6173, allocations: 254.4 kB / 0.6405 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.6174, allocations: 67.19 kB / 0.6405 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.6188, allocations: 0.6744 MB / 0.6412 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6188, allocations: 4 kB / 0.6412 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6188, allocations: 8 kB / 0.6412 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6189, allocations: 3.984 kB / 0.6412 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.6212, allocations: 1.599 MB / 0.6428 GB, free: 9.711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6212, allocations: 3.938 kB / 0.6428 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009663/0.6222, allocations: 207.9 kB / 0.643 GB, free: 9.504 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.6223, allocations: 24.84 kB / 0.643 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.6223, allocations: 27.86 kB / 0.643 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.6246, allocations: 2.881 MB / 0.6458 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6246, allocations: 4 kB / 0.6458 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.6258, allocations: 0.8005 MB / 0.6466 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.6261, allocations: 192.2 kB / 0.6468 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.6262, allocations: 12 kB / 0.6468 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.6266, allocations: 20.05 kB / 0.6468 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.6267, allocations: 43.75 kB / 0.6469 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.6267, allocations: 43.98 kB / 0.6469 GB, free: 5.133 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006567/0.6274, allocations: 447 kB / 0.6473 GB, free: 4.699 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6274, allocations: 0 / 0.6473 GB, free: 4.699 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009777/0.6284, allocations: 287.9 kB / 0.6476 GB, free: 4.418 MB / 462.1 MB 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.0008548/0.6293, allocations: 368.4 kB / 0.648 GB, free: 4.055 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.6304, allocations: 0.5431 MB / 0.6485 GB, free: 3.512 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6305, allocations: 3.859 kB / 0.6485 GB, free: 3.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009356/0.6314, allocations: 423.7 kB / 0.6489 GB, free: 3.082 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.6329, allocations: 375.5 kB / 0.6493 GB, free: 2.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.6348, allocations: 1.298 MB / 0.6505 GB, free: 1.383 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.6353, allocations: 0.9493 MB / 0.6515 GB, free: 416 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007199/0.6361, allocations: 258 kB / 0.6517 GB, free: 156 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.6363, allocations: 103.4 kB / 0.6518 GB, free: 52 kB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6363, allocations: 0 / 0.6518 GB, free: 52 kB / 462.1 MB Notification: Performance of Templates: time 0.02777/0.6641, allocations: 18.31 MB / 0.6697 GB, free: 13.78 MB / 494.1 MB 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 -s gbode -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