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.0013/0.0013, allocations: 105.7 kB / 16.93 MB, free: 5.781 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.001077/0.001077, allocations: 191.6 kB / 17.86 MB, free: 5.156 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.35/1.35, allocations: 205.1 MB / 223.7 MB, free: 12.28 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.2038/0.2038, allocations: 43.52 MB / 314.6 MB, free: 0.5352 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.001528/0.001528, allocations: 69.75 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0848/0.08634, allocations: 57.79 MB / 441.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3543/0.4406, allocations: 179.7 MB / 0.6063 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.4509, allocations: 8.176 MB / 0.6143 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007832/0.4517, allocations: 24.19 kB / 0.6143 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.4528, allocations: 317.2 kB / 0.6146 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004063/0.4569, allocations: 1.483 MB / 0.6161 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.46, allocations: 1.146 MB / 0.6172 GB, free: 1.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002297/0.4623, allocations: 1.849 MB / 0.619 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00076/0.4631, allocations: 466.5 kB / 0.6195 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003039/0.4661, allocations: 1.225 MB / 0.6207 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.4674, allocations: 0.6536 MB / 0.6213 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.4676, allocations: 62.59 kB / 0.6214 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.4695, allocations: 0.7394 MB / 0.6221 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.4698, allocations: 266 kB / 0.6223 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.4704, allocations: 400.9 kB / 0.6227 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.4727, allocations: 1.401 MB / 0.6241 GB, free: 13.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4728, allocations: 0 / 0.6241 GB, free: 13.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4728, allocations: 4 kB / 0.6241 GB, free: 13.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.4728, allocations: 0 / 0.6241 GB, free: 13.48 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.002456/0.4753, allocations: 1.13 MB / 0.6252 GB, free: 12.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4753, allocations: 12.02 kB / 0.6252 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008672/0.4762, allocations: 135.1 kB / 0.6253 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008034/0.477, allocations: 0.5156 MB / 0.6258 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.4771, allocations: 96.41 kB / 0.6259 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.4772, allocations: 51.98 kB / 0.626 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.4785, allocations: 0.8175 MB / 0.6268 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.4786, allocations: 7.938 kB / 0.6268 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.4786, allocations: 27.98 kB / 0.6268 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-05/0.4787, allocations: 36.98 kB / 0.6268 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.4798, allocations: 0.6166 MB / 0.6275 GB, free: 9.863 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.004625/0.4844, allocations: 3.992 MB / 0.6313 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.485, allocations: 354.7 kB / 0.6317 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.4853, allocations: 174.3 kB / 0.6319 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/0.4858, allocations: 357.5 kB / 0.6322 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.4858, allocations: 38.84 kB / 0.6322 GB, free: 4.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.4858, allocations: 0 / 0.6322 GB, free: 4.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005891/0.4917, allocations: 1.665 MB / 0.6339 GB, free: 2.906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/0.4918, allocations: 136.5 kB / 0.634 GB, free: 2.742 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.4926, allocations: 0.621 MB / 0.6346 GB, free: 2.113 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.4926, allocations: 37.7 kB / 0.6346 GB, free: 2.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.4929, allocations: 359 kB / 0.635 GB, free: 1.715 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.493, allocations: 149.9 kB / 0.6351 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.4933, allocations: 150.5 kB / 0.6353 GB, free: 1.414 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4934, allocations: 382.8 kB / 0.6356 GB, free: 1.031 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.4938, allocations: 205.8 kB / 0.6358 GB, free: 0.832 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.4944, allocations: 0.5164 MB / 0.6363 GB, free: 172 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.4954, allocations: 0.7449 MB / 0.6371 GB, free: 15.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4955, allocations: 0 / 0.6371 GB, free: 15.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00172/0.4972, allocations: 0.8795 MB / 0.6379 GB, free: 14.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.4972, allocations: 11.98 kB / 0.6379 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.4973, allocations: 12 kB / 0.6379 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.4987, allocations: 325.3 kB / 0.6382 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.4991, allocations: 119.8 kB / 0.6384 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.5003, allocations: 0.9385 MB / 0.6393 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.5008, allocations: 24 kB / 0.6393 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.336e-05/0.5009, allocations: 71.92 kB / 0.6394 GB, free: 12.87 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.0003703/0.5013, allocations: 254.3 kB / 0.6396 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.5014, allocations: 67.19 kB / 0.6397 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.503, allocations: 0.6784 MB / 0.6403 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.503, allocations: 4 kB / 0.6403 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.503, allocations: 0 / 0.6403 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.503, allocations: 4 kB / 0.6403 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.5053, allocations: 1.606 MB / 0.6419 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5053, allocations: 3.938 kB / 0.6419 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.5064, allocations: 207.8 kB / 0.6421 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.244e-05/0.5065, allocations: 28.97 kB / 0.6421 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.5066, allocations: 23.98 kB / 0.6422 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.5087, allocations: 2.877 MB / 0.645 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5087, allocations: 0 / 0.645 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.51, allocations: 0.8072 MB / 0.6458 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.5103, allocations: 188.2 kB / 0.6459 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.5104, allocations: 16 kB / 0.646 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.5108, allocations: 20.05 kB / 0.646 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.5109, allocations: 31.97 kB / 0.646 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-05/0.511, allocations: 47.97 kB / 0.6461 GB, free: 5.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005685/0.5116, allocations: 443 kB / 0.6465 GB, free: 5.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5116, allocations: 0 / 0.6465 GB, free: 5.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009636/0.5125, allocations: 295.9 kB / 0.6468 GB, free: 4.801 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.0009396/0.5135, allocations: 364 kB / 0.6471 GB, free: 4.441 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.5148, allocations: 0.6057 MB / 0.6477 GB, free: 3.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.5148, allocations: 7.859 kB / 0.6477 GB, free: 3.828 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009773/0.5158, allocations: 411.2 kB / 0.6481 GB, free: 3.414 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.5175, allocations: 368.4 kB / 0.6484 GB, free: 3.062 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.5198, allocations: 1.365 MB / 0.6498 GB, free: 1.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004962/0.5203, allocations: 0.93 MB / 0.6507 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/0.5207, allocations: 115.4 kB / 0.6508 GB, free: 0.582 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5207, allocations: 0 / 0.6508 GB, free: 0.582 MB / 462.1 MB Notification: Performance of Templates: time 0.02294/0.5436, allocations: 17.02 MB / 0.6674 GB, free: 15.58 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 -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