Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001404/0.001404, allocations: 108.3 kB / 18.4 MB, free: 4.719 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.001231/0.001231, allocations: 191 kB / 19.34 MB, free: 3.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 243 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2164/0.2164, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 60.22 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4709/0.6055, allocations: 150.1 MB / 0.6063 GB, free: 9.992 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006139/0.6117, allocations: 5.146 MB / 0.6113 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.6119, allocations: 4 kB / 0.6113 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.6122, allocations: 55.66 kB / 0.6114 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.6164, allocations: 1.198 MB / 0.6125 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.6168, allocations: 141.8 kB / 0.6127 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006198/0.6174, allocations: 394.1 kB / 0.613 GB, free: 3.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.6175, allocations: 17.48 kB / 0.6131 GB, free: 3.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.6178, allocations: 163.4 kB / 0.6132 GB, free: 2.902 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.6181, allocations: 171.5 kB / 0.6134 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.6181, allocations: 11.94 kB / 0.6134 GB, free: 2.723 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.62, allocations: 1.018 MB / 0.6144 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.6202, allocations: 47.77 kB / 0.6144 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.6203, allocations: 107.5 kB / 0.6145 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.6217, allocations: 0.8399 MB / 0.6154 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6217, allocations: 0 / 0.6154 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6217, allocations: 0 / 0.6154 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.6217, allocations: 4 kB / 0.6154 GB, free: 0.707 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.001292/0.623, allocations: 0.6834 MB / 0.616 GB, free: 15.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6231, allocations: 8.031 kB / 0.616 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006832/0.6299, allocations: 0.5897 MB / 0.6166 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.6306, allocations: 259.7 kB / 0.6169 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.6308, allocations: 127.4 kB / 0.617 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.163e-05/0.6309, allocations: 24 kB / 0.617 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.6322, allocations: 0.5633 MB / 0.6176 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.6322, allocations: 4 kB / 0.6176 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.6323, allocations: 11.91 kB / 0.6176 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.6323, allocations: 8 kB / 0.6176 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.6338, allocations: 0.6338 MB / 0.6182 GB, free: 13.65 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.002708/0.6366, allocations: 1.712 MB / 0.6199 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.637, allocations: 158.4 kB / 0.62 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.6371, allocations: 76.95 kB / 0.6201 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007655/0.6379, allocations: 0.7044 MB / 0.6208 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.638, allocations: 34.56 kB / 0.6208 GB, free: 10.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 3.387e-06/0.638, allocations: 0 / 0.6208 GB, free: 10.7 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=17): time 0.001092/0.6391, allocations: 317.1 kB / 0.6211 GB, free: 10.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.6391, allocations: 59.41 kB / 0.6212 GB, free: 10.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.6393, allocations: 191 kB / 0.6214 GB, free: 10.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.6393, allocations: 33.7 kB / 0.6214 GB, free: 10.08 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.6395, allocations: 187.1 kB / 0.6216 GB, free: 9.891 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.6395, allocations: 67.09 kB / 0.6216 GB, free: 9.824 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.6397, allocations: 97.95 kB / 0.6217 GB, free: 9.723 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6398, allocations: 322.8 kB / 0.622 GB, free: 9.398 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.64, allocations: 68.7 kB / 0.6221 GB, free: 9.332 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.6403, allocations: 260 kB / 0.6223 GB, free: 8.984 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.6408, allocations: 375.6 kB / 0.6227 GB, free: 8.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.6408, allocations: 5.562 kB / 0.6227 GB, free: 8.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006225/0.6414, allocations: 364.1 kB / 0.6231 GB, free: 8.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6414, allocations: 14.66 kB / 0.6231 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.6415, allocations: 8 kB / 0.6231 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.6415, allocations: 11.94 kB / 0.6231 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.6419, allocations: 131.8 kB / 0.6232 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003873/0.6423, allocations: 0.5977 MB / 0.6238 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.6425, allocations: 47.52 kB / 0.6238 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.6426, allocations: 40 kB / 0.6239 GB, free: 7.293 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.0001451/0.6428, allocations: 149.7 kB / 0.624 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.6428, allocations: 19.8 kB / 0.624 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008479/0.6437, allocations: 440.4 kB / 0.6245 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6437, allocations: 3.984 kB / 0.6245 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6437, allocations: 0 / 0.6245 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6437, allocations: 0 / 0.6245 GB, free: 6.676 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.6446, allocations: 0.6304 MB / 0.6251 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6446, allocations: 4 kB / 0.6251 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.6448, allocations: 51.97 kB / 0.6251 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6448, allocations: 12.16 kB / 0.6251 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.6449, allocations: 11.98 kB / 0.6252 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002913/0.6452, allocations: 0.5938 MB / 0.6257 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.6452, allocations: 4 kB / 0.6257 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.6455, allocations: 293.3 kB / 0.626 GB, free: 4.926 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.6457, allocations: 108.8 kB / 0.6261 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.6457, allocations: 7.984 kB / 0.6261 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.646, allocations: 12 kB / 0.6261 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.646, allocations: 15.97 kB / 0.6262 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.646, allocations: 20 kB / 0.6262 GB, free: 4.746 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.6462, allocations: 140.1 kB / 0.6263 GB, free: 4.609 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6462, allocations: 0 / 0.6263 GB, free: 4.609 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006263/0.6468, allocations: 155.9 kB / 0.6265 GB, free: 4.457 MB / 462.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 (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.0006183/0.6474, allocations: 242 kB / 0.6267 GB, free: 4.227 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005046/0.648, allocations: 233.1 kB / 0.6269 GB, free: 4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.648, allocations: 4.188 kB / 0.6269 GB, free: 3.996 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.6482, allocations: 75.91 kB / 0.627 GB, free: 3.922 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.6487, allocations: 67.78 kB / 0.6271 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.6501, allocations: 0.6854 MB / 0.6277 GB, free: 3.125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.6503, allocations: 0.7245 MB / 0.6284 GB, free: 2.375 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000613/0.651, allocations: 382.2 kB / 0.6288 GB, free: 2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.6511, allocations: 67.38 kB / 0.6289 GB, free: 1.934 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.6511, allocations: 0 / 0.6289 GB, free: 1.934 MB / 462.1 MB Notification: Performance of Templates: time 0.009223/0.6604, allocations: 5.168 MB / 0.6339 GB, free: 12.8 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches