Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000874/0.0008743, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009191/0.0009192, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.891/1.891, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4158/0.4158, allocations: 43.58 MB / 315 MB, free: 8.945 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.0005166/0.0005166, allocations: 12 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1516, allocations: 58.86 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4942/0.6459, allocations: 147.2 MB / 0.5768 GB, free: 8.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.6561, allocations: 7.05 MB / 0.5837 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.6564, allocations: 0 / 0.5837 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.6568, allocations: 43.72 kB / 0.5837 GB, free: 1.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.662, allocations: 1.255 MB / 0.5849 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.6624, allocations: 131.5 kB / 0.5851 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008391/0.6633, allocations: 478 kB / 0.5855 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.683e-05/0.6634, allocations: 12.34 kB / 0.5855 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000447/0.6638, allocations: 163.3 kB / 0.5857 GB, free: 15.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004839/0.6643, allocations: 187.3 kB / 0.5859 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.6644, allocations: 12 kB / 0.5859 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/0.6681, allocations: 1.158 MB / 0.587 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.6683, allocations: 43.81 kB / 0.5871 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.6685, allocations: 145.1 kB / 0.5872 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003365/0.6719, allocations: 0.9627 MB / 0.5881 GB, free: 12.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6719, allocations: 4 kB / 0.5881 GB, free: 12.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6719, allocations: 0 / 0.5881 GB, free: 12.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.6719, allocations: 0 / 0.5881 GB, free: 12.65 MB / 462.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.001804/0.6737, allocations: 0.6549 MB / 0.5888 GB, free: 11.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.6738, allocations: 8.031 kB / 0.5888 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007602/0.6814, allocations: 0.5913 MB / 0.5894 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/0.6821, allocations: 261.1 kB / 0.5896 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.6823, allocations: 127.3 kB / 0.5897 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/0.6826, allocations: 24 kB / 0.5898 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.6841, allocations: 0.5647 MB / 0.5903 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.6842, allocations: 0 / 0.5903 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.6843, allocations: 8 kB / 0.5903 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.6843, allocations: 8 kB / 0.5903 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.6859, allocations: 0.6299 MB / 0.5909 GB, free: 9.648 MB / 462.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.002825/0.6888, allocations: 1.637 MB / 0.5925 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.6892, allocations: 154.5 kB / 0.5927 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.6894, allocations: 72.88 kB / 0.5928 GB, free: 7.656 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/0.6913, allocations: 1.322 MB / 0.594 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/0.6914, allocations: 42.47 kB / 0.5941 GB, free: 6.098 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 3.186e-06/0.6914, allocations: 0 / 0.5941 GB, free: 6.098 MB / 462.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=18): time 0.001176/0.6926, allocations: 328.2 kB / 0.5944 GB, free: 5.773 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.6926, allocations: 55.34 kB / 0.5945 GB, free: 5.707 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.6929, allocations: 191.3 kB / 0.5946 GB, free: 5.508 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.6929, allocations: 29.7 kB / 0.5947 GB, free: 5.473 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.6931, allocations: 187.2 kB / 0.5948 GB, free: 5.285 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.6932, allocations: 63.09 kB / 0.5949 GB, free: 5.223 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.6933, allocations: 37.7 kB / 0.5949 GB, free: 5.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6934, allocations: 330.8 kB / 0.5953 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.6935, allocations: 64.7 kB / 0.5953 GB, free: 4.785 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.6938, allocations: 259.8 kB / 0.5956 GB, free: 4.438 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.6944, allocations: 375.4 kB / 0.5959 GB, free: 3.977 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.6944, allocations: 4 kB / 0.5959 GB, free: 3.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006656/0.695, allocations: 372 kB / 0.5963 GB, free: 3.605 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.6951, allocations: 10.97 kB / 0.5963 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/0.6951, allocations: 15.92 kB / 0.5963 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.6951, allocations: 11.94 kB / 0.5963 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.6956, allocations: 126 kB / 0.5964 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004238/0.696, allocations: 0.6093 MB / 0.597 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.6963, allocations: 39.91 kB / 0.5971 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.6963, allocations: 47.98 kB / 0.5971 GB, free: 2.73 MB / 462.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 (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001843/0.6965, allocations: 141.6 kB / 0.5973 GB, free: 2.582 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.6966, allocations: 27.66 kB / 0.5973 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008665/0.6975, allocations: 291.1 kB / 0.5976 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.6975, allocations: 3.984 kB / 0.5976 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.6975, allocations: 3.984 kB / 0.5976 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6975, allocations: 7.938 kB / 0.5976 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008295/0.6984, allocations: 0.5212 MB / 0.5981 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6984, allocations: 4 kB / 0.5981 GB, free: 1.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.6986, allocations: 59.95 kB / 0.5981 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6986, allocations: 3.938 kB / 0.5981 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.6987, allocations: 4 kB / 0.5981 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004817/0.6991, allocations: 0.6016 MB / 0.5987 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6992, allocations: 0 / 0.5987 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.6996, allocations: 266.8 kB / 0.599 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.6998, allocations: 120.8 kB / 0.5991 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.6998, allocations: 7.922 kB / 0.5991 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.7001, allocations: 12 kB / 0.5991 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.7001, allocations: 11.98 kB / 0.5991 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.7001, allocations: 19.98 kB / 0.5992 GB, free: 500 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.7003, allocations: 140.2 kB / 0.5993 GB, free: 360 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7003, allocations: 4 kB / 0.5993 GB, free: 356 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008699/0.7012, allocations: 191.8 kB / 0.5995 GB, free: 164 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001079/0.7023, allocations: 316.3 kB / 0.5998 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005746/0.7029, allocations: 231.9 kB / 0.6 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.7029, allocations: 0 / 0.6 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.7031, allocations: 81.39 kB / 0.6001 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.7037, allocations: 71.94 kB / 0.6001 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.7072, allocations: 2.04 MB / 0.6021 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.7077, allocations: 0.7284 MB / 0.6028 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006174/0.7084, allocations: 102.2 kB / 0.6029 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.7085, allocations: 47.42 kB / 0.603 GB, free: 12.51 MB / 478.1 MB Notification: Performance of SimCode: time 1.713e-06/0.7085, allocations: 0 / 0.603 GB, free: 12.51 MB / 478.1 MB Notification: Performance of Templates: time 0.01346/0.722, allocations: 5.986 MB / 0.6088 GB, free: 6.562 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches