Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001183, allocations: 95.05 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 204 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 45.92 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002571/0.0002571, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 63.46 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4265/0.5614, allocations: 126.2 MB / 0.5933 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006135/0.5676, allocations: 4.839 MB / 0.5981 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.5679, allocations: 0 / 0.5981 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.5682, allocations: 43.72 kB / 0.5981 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003776/0.572, allocations: 0.9753 MB / 0.5991 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.5724, allocations: 127 kB / 0.5992 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006846/0.5731, allocations: 267.4 kB / 0.5994 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.934e-05/0.5732, allocations: 17.66 kB / 0.5995 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004269/0.5736, allocations: 163.5 kB / 0.5996 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/0.5741, allocations: 155.6 kB / 0.5998 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.5742, allocations: 8 kB / 0.5998 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.5769, allocations: 0.9559 MB / 0.6007 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.577, allocations: 39.88 kB / 0.6007 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.5772, allocations: 69.58 kB / 0.6008 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.5786, allocations: 0.5632 MB / 0.6014 GB, free: 15.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5786, allocations: 0 / 0.6014 GB, free: 15.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5786, allocations: 0 / 0.6014 GB, free: 15.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.5786, allocations: 0 / 0.6014 GB, free: 15.13 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001432/0.58, allocations: 0.6208 MB / 0.602 GB, free: 14.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5801, allocations: 16.02 kB / 0.602 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007812/0.5879, allocations: 0.6087 MB / 0.6026 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.5885, allocations: 258.7 kB / 0.6028 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.5886, allocations: 119.4 kB / 0.6029 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.5887, allocations: 20 kB / 0.603 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.59, allocations: 0.5595 MB / 0.6035 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.59, allocations: 0 / 0.6035 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.5901, allocations: 19.98 kB / 0.6035 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.5901, allocations: 4 kB / 0.6035 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.5916, allocations: 0.6337 MB / 0.6041 GB, free: 12.12 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.002396/0.594, allocations: 1.71 MB / 0.6058 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.5943, allocations: 157 kB / 0.606 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008106/0.5952, allocations: 0.7048 MB / 0.6067 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.5952, allocations: 42.56 kB / 0.6067 GB, free: 9.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 2.234e-06/0.5952, allocations: 0 / 0.6067 GB, free: 9.25 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001147/0.5964, allocations: 323.2 kB / 0.607 GB, free: 8.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.5964, allocations: 51.41 kB / 0.607 GB, free: 8.867 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.5966, allocations: 195.8 kB / 0.6072 GB, free: 8.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.5967, allocations: 29.7 kB / 0.6073 GB, free: 8.633 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.5968, allocations: 191.1 kB / 0.6074 GB, free: 8.438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.5969, allocations: 63.09 kB / 0.6075 GB, free: 8.375 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.5969, allocations: 12 kB / 0.6075 GB, free: 8.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5971, allocations: 323 kB / 0.6078 GB, free: 8.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.5973, allocations: 68.7 kB / 0.6079 GB, free: 7.973 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.5976, allocations: 260 kB / 0.6081 GB, free: 7.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.5978, allocations: 112.6 kB / 0.6082 GB, free: 7.516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.5978, allocations: 4 kB / 0.6083 GB, free: 7.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006955/0.5985, allocations: 364.1 kB / 0.6086 GB, free: 7.152 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.5985, allocations: 8 kB / 0.6086 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.5986, allocations: 8 kB / 0.6086 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.5986, allocations: 12 kB / 0.6086 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.5991, allocations: 123.8 kB / 0.6087 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004137/0.5995, allocations: 0.6058 MB / 0.6093 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.5998, allocations: 47.48 kB / 0.6094 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.5999, allocations: 43.98 kB / 0.6094 GB, free: 6.285 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.6001, allocations: 142.2 kB / 0.6096 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.6002, allocations: 23.81 kB / 0.6096 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009102/0.6011, allocations: 439.7 kB / 0.61 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6011, allocations: 4 kB / 0.61 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6011, allocations: 0 / 0.61 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6011, allocations: 3.938 kB / 0.61 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009261/0.602, allocations: 0.6227 MB / 0.6106 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.6021, allocations: 7.984 kB / 0.6106 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.6023, allocations: 51.97 kB / 0.6107 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.6023, allocations: 7.953 kB / 0.6107 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.6023, allocations: 8 kB / 0.6107 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003235/0.6027, allocations: 0.5979 MB / 0.6113 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.6027, allocations: 4.031 kB / 0.6113 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.6031, allocations: 373.2 kB / 0.6116 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.6033, allocations: 116.8 kB / 0.6117 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.6033, allocations: 8 kB / 0.6117 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.6036, allocations: 11.98 kB / 0.6118 GB, free: 3.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.6036, allocations: 15.94 kB / 0.6118 GB, free: 3.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.6037, allocations: 27.92 kB / 0.6118 GB, free: 3.613 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.6039, allocations: 135.6 kB / 0.6119 GB, free: 3.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6039, allocations: 0 / 0.6119 GB, free: 3.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009158/0.6048, allocations: 151.9 kB / 0.6121 GB, free: 3.332 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009533/0.6058, allocations: 254.1 kB / 0.6123 GB, free: 3.086 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.6064, allocations: 225.2 kB / 0.6125 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.6065, allocations: 0 / 0.6125 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.6067, allocations: 79.83 kB / 0.6126 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.6072, allocations: 56.58 kB / 0.6127 GB, free: 2.734 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.6084, allocations: 0.5576 MB / 0.6132 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.6089, allocations: 0.7289 MB / 0.6139 GB, free: 1.379 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009132/0.6098, allocations: 389.2 kB / 0.6143 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.61, allocations: 59.39 kB / 0.6143 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.61, allocations: 0 / 0.6143 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of Templates: time 0.01089/0.6209, allocations: 4.843 MB / 0.6191 GB, free: 12.12 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches