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.001371/0.001371, allocations: 101.2 kB / 16.94 MB, free: 6.184 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.001432/0.001432, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.362/1.362, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.1978/0.1978, allocations: 43.52 MB / 314.6 MB, free: 0.5312 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.001591/0.001591, allocations: 75.33 kB / 383.4 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.0917, allocations: 57.79 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.362/0.4537, allocations: 151.3 MB / 0.5786 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007034/0.4608, allocations: 6.975 MB / 0.5855 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.4611, allocations: 0 / 0.5855 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.4614, allocations: 66.7 kB / 0.5855 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004507/0.4659, allocations: 1.425 MB / 0.5869 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.4663, allocations: 149.4 kB / 0.587 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.4669, allocations: 397.6 kB / 0.5874 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.174e-05/0.467, allocations: 16.77 kB / 0.5874 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.4672, allocations: 162.4 kB / 0.5876 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.4675, allocations: 177.8 kB / 0.5878 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/0.4676, allocations: 12.06 kB / 0.5878 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.47, allocations: 1.138 MB / 0.5889 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.312e-05/0.4701, allocations: 46.19 kB / 0.5889 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.4702, allocations: 110.3 kB / 0.589 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.472, allocations: 0.9608 MB / 0.59 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.472, allocations: 0 / 0.59 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.472, allocations: 0 / 0.59 GB, free: 10.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.4721, allocations: 0 / 0.59 GB, free: 10.85 MB / 430.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.001401/0.4735, allocations: 0.7116 MB / 0.5907 GB, free: 10.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4735, allocations: 11.77 kB / 0.5907 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008025/0.4816, allocations: 0.5919 MB / 0.5913 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.4821, allocations: 271.7 kB / 0.5915 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.4822, allocations: 127.2 kB / 0.5916 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.4823, allocations: 21.22 kB / 0.5917 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.4835, allocations: 0.5589 MB / 0.5922 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4835, allocations: 0 / 0.5922 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.4836, allocations: 15.09 kB / 0.5922 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.4837, allocations: 9.656 kB / 0.5922 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.485, allocations: 0.6252 MB / 0.5928 GB, free: 9.223 MB / 430.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.002114/0.4872, allocations: 1.658 MB / 0.5945 GB, free: 7.824 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.4876, allocations: 160.6 kB / 0.5946 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.4877, allocations: 80.23 kB / 0.5947 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.4891, allocations: 1.306 MB / 0.596 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.4891, allocations: 34.5 kB / 0.596 GB, free: 6.477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 2.294e-06/0.4891, allocations: 2.75 kB / 0.596 GB, free: 6.477 MB / 430.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.001106/0.4903, allocations: 330.1 kB / 0.5963 GB, free: 6.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.4903, allocations: 55.34 kB / 0.5964 GB, free: 6.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.4905, allocations: 192.3 kB / 0.5966 GB, free: 6.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.4905, allocations: 29.33 kB / 0.5966 GB, free: 6.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4906, allocations: 190 kB / 0.5968 GB, free: 5.992 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.4907, allocations: 63.44 kB / 0.5968 GB, free: 5.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4908, allocations: 93.8 kB / 0.5969 GB, free: 5.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.491, allocations: 331 kB / 0.5972 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.4911, allocations: 64.42 kB / 0.5973 GB, free: 5.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.4914, allocations: 266.1 kB / 0.5975 GB, free: 5.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.4919, allocations: 369.2 kB / 0.5979 GB, free: 5.008 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4919, allocations: 2.25 kB / 0.5979 GB, free: 5.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000631/0.4925, allocations: 371.5 kB / 0.5983 GB, free: 4.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4925, allocations: 7.688 kB / 0.5983 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4926, allocations: 6.969 kB / 0.5983 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.4926, allocations: 8 kB / 0.5983 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.493, allocations: 134.7 kB / 0.5984 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003589/0.4934, allocations: 0.6039 MB / 0.599 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.4937, allocations: 39.06 kB / 0.599 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.4938, allocations: 45.62 kB / 0.5991 GB, free: 4.23 MB / 430.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.0001478/0.4939, allocations: 149.7 kB / 0.5992 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.494, allocations: 21.88 kB / 0.5992 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007287/0.4947, allocations: 300.8 kB / 0.5995 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4947, allocations: 0 / 0.5995 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4947, allocations: 1.875 kB / 0.5995 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4948, allocations: 3.984 kB / 0.5995 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007201/0.4955, allocations: 0.5146 MB / 0.6 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4955, allocations: 2.531 kB / 0.6 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.4957, allocations: 54.09 kB / 0.6001 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.4958, allocations: 6.641 kB / 0.6001 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.4958, allocations: 2.688 kB / 0.6001 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003199/0.4961, allocations: 0.6013 MB / 0.6007 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4961, allocations: 3.938 kB / 0.6007 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.4965, allocations: 267.9 kB / 0.6009 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.4966, allocations: 112.7 kB / 0.601 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.4967, allocations: 14.03 kB / 0.6011 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.4969, allocations: 9.172 kB / 0.6011 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.497, allocations: 14.61 kB / 0.6011 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.497, allocations: 18.84 kB / 0.6011 GB, free: 2.609 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.4971, allocations: 141.1 kB / 0.6012 GB, free: 2.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4971, allocations: 3.938 kB / 0.6012 GB, free: 2.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000758/0.4979, allocations: 188.2 kB / 0.6014 GB, free: 2.488 MB / 430.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.0009406/0.4989, allocations: 318 kB / 0.6017 GB, free: 2.332 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005643/0.4994, allocations: 231.8 kB / 0.6019 GB, free: 2.277 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4995, allocations: 2.75 kB / 0.6019 GB, free: 2.277 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.4997, allocations: 82.92 kB / 0.602 GB, free: 2.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.5002, allocations: 65.19 kB / 0.6021 GB, free: 2.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.5034, allocations: 1.967 MB / 0.604 GB, free: 1.469 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.5037, allocations: 0.7276 MB / 0.6047 GB, free: 0.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.504, allocations: 62.03 kB / 0.6048 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.504, allocations: 0 / 0.6048 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of Templates: time 0.0104/0.5144, allocations: 5.788 MB / 0.6104 GB, free: 13.79 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches