Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 107.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 213.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.12 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 79.94 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1173, allocations: 62.45 MB / 480.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.425/0.5424, allocations: 175.5 MB / 0.6404 GB, free: 3.992 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009811/0.5522, allocations: 5.406 MB / 0.6456 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008413/0.5531, allocations: 23.81 kB / 0.6457 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.5542, allocations: 286.5 kB / 0.6459 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.5577, allocations: 1.157 MB / 0.6471 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.5603, allocations: 0.8933 MB / 0.6479 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.5629, allocations: 1.86 MB / 0.6498 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007474/0.5636, allocations: 462.3 kB / 0.6502 GB, free: 9.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.5659, allocations: 1.071 MB / 0.6512 GB, free: 8.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.567, allocations: 0.7008 MB / 0.6519 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.5671, allocations: 60 kB / 0.652 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.5685, allocations: 0.5891 MB / 0.6526 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.5688, allocations: 271.2 kB / 0.6528 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.5693, allocations: 406.2 kB / 0.6532 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.5707, allocations: 0.9706 MB / 0.6542 GB, free: 5.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5707, allocations: 0 / 0.6542 GB, free: 5.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5707, allocations: 0 / 0.6542 GB, free: 5.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.5707, allocations: 0 / 0.6542 GB, free: 5.844 MB / 494.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.002428/0.5732, allocations: 1.106 MB / 0.6552 GB, free: 4.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5732, allocations: 8.031 kB / 0.6552 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008737/0.5741, allocations: 139 kB / 0.6554 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.575, allocations: 0.5041 MB / 0.6559 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.5751, allocations: 100.4 kB / 0.656 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5752, allocations: 55.89 kB / 0.656 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.5766, allocations: 0.8136 MB / 0.6568 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.5766, allocations: 7.922 kB / 0.6568 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.5767, allocations: 27.98 kB / 0.6568 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.5768, allocations: 40.97 kB / 0.6569 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.5779, allocations: 0.6204 MB / 0.6575 GB, free: 2.246 MB / 494.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.004989/0.5829, allocations: 3.951 MB / 0.6614 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/0.5835, allocations: 358 kB / 0.6617 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.5838, allocations: 169.3 kB / 0.6619 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.584, allocations: 85.39 kB / 0.6619 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.584, allocations: 42.84 kB / 0.662 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.584, allocations: 0 / 0.662 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.005907/0.5899, allocations: 1.672 MB / 0.6636 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/0.5901, allocations: 136.5 kB / 0.6637 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000789/0.5909, allocations: 0.6056 MB / 0.6643 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.5909, allocations: 33.7 kB / 0.6644 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.5912, allocations: 370.8 kB / 0.6647 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.5914, allocations: 149.9 kB / 0.6649 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.5916, allocations: 154.6 kB / 0.665 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.5919, allocations: 374.8 kB / 0.6654 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.5922, allocations: 205.9 kB / 0.6656 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.5929, allocations: 0.5174 MB / 0.6661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.594, allocations: 0.7553 MB / 0.6668 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.594, allocations: 4 kB / 0.6668 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00159/0.5956, allocations: 0.8917 MB / 0.6677 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5957, allocations: 8 kB / 0.6677 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.5957, allocations: 12 kB / 0.6677 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.5971, allocations: 309.3 kB / 0.668 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004106/0.5975, allocations: 123.8 kB / 0.6681 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.5988, allocations: 0.9386 MB / 0.669 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.5994, allocations: 47.95 kB / 0.6691 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.5995, allocations: 71.98 kB / 0.6691 GB, free: 5.562 MB / 0.4981 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.0003756/0.5999, allocations: 237.5 kB / 0.6694 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.6, allocations: 67.25 kB / 0.6694 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.6019, allocations: 0.8608 MB / 0.6703 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.6019, allocations: 4 kB / 0.6703 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.602, allocations: 0 / 0.6703 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.602, allocations: 7.969 kB / 0.6703 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.6042, allocations: 1.457 MB / 0.6717 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6043, allocations: 0 / 0.6717 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.6054, allocations: 215.9 kB / 0.6719 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.744e-05/0.6055, allocations: 28.84 kB / 0.6719 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.707e-05/0.6055, allocations: 23.92 kB / 0.672 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.608, allocations: 2.87 MB / 0.6748 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.6081, allocations: 3.938 kB / 0.6748 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.6095, allocations: 0.8176 MB / 0.6756 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.6098, allocations: 192.2 kB / 0.6758 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.61, allocations: 12 kB / 0.6758 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.6104, allocations: 19.98 kB / 0.6758 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.6105, allocations: 47.95 kB / 0.6758 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/0.6106, allocations: 43.92 kB / 0.6759 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005942/0.6112, allocations: 443 kB / 0.6763 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6112, allocations: 0 / 0.6763 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009439/0.6122, allocations: 255.9 kB / 0.6765 GB, free: 13.5 MB / 0.5137 GB 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.0008414/0.613, allocations: 296.9 kB / 0.6768 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.6144, allocations: 0.6175 MB / 0.6774 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.6144, allocations: 4 kB / 0.6774 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.6154, allocations: 406.3 kB / 0.6778 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.6172, allocations: 375.3 kB / 0.6782 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.6197, allocations: 1.579 MB / 0.6797 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/0.6203, allocations: 0.9261 MB / 0.6806 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.6208, allocations: 123.4 kB / 0.6807 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.6208, allocations: 0 / 0.6807 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of Templates: time 0.02444/0.6452, allocations: 16.56 MB / 0.6969 GB, free: 8.617 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p