Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 258.2 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 46.95 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 63.89 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3288, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1738/0.5025, allocations: 132 MB / 0.6908 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006388/0.5089, allocations: 4.606 MB / 0.6953 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.5091, allocations: 3.938 kB / 0.6953 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.5095, allocations: 55.59 kB / 0.6953 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003824/0.5133, allocations: 1.228 MB / 0.6965 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.5137, allocations: 143.5 kB / 0.6966 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.5143, allocations: 394.2 kB / 0.697 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.502e-05/0.5144, allocations: 13.8 kB / 0.697 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.5147, allocations: 179.3 kB / 0.6972 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.515, allocations: 179.4 kB / 0.6974 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.5151, allocations: 8 kB / 0.6974 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.5173, allocations: 0.9597 MB / 0.6983 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.5174, allocations: 51.75 kB / 0.6984 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.5176, allocations: 95.64 kB / 0.6985 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.5193, allocations: 0.8403 MB / 0.6993 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5193, allocations: 0 / 0.6993 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5193, allocations: 3.938 kB / 0.6993 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.5193, allocations: 4 kB / 0.6993 GB, free: 6.891 MB / 0.5294 GB 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.00153/0.5208, allocations: 0.6216 MB / 0.6999 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.5209, allocations: 8.031 kB / 0.6999 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007941/0.5288, allocations: 0.6015 MB / 0.7005 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.5296, allocations: 217.5 kB / 0.7007 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.5298, allocations: 226.1 kB / 0.7009 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.5299, allocations: 20 kB / 0.7009 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5313, allocations: 0.7422 MB / 0.7017 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.5313, allocations: 3.938 kB / 0.7017 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/0.5314, allocations: 12 kB / 0.7017 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.5315, allocations: 4 kB / 0.7017 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.533, allocations: 0.6221 MB / 0.7023 GB, free: 3.637 MB / 0.5294 GB 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.002362/0.5354, allocations: 1.409 MB / 0.7037 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.5358, allocations: 154 kB / 0.7038 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.5359, allocations: 68.81 kB / 0.7039 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/0.5366, allocations: 372 kB / 0.7042 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.5366, allocations: 38.56 kB / 0.7043 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/0.5366, allocations: 0 / 0.7043 GB, free: 1.492 MB / 0.5294 GB 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.001165/0.5378, allocations: 330.8 kB / 0.7046 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.5378, allocations: 55.41 kB / 0.7046 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.5381, allocations: 195.1 kB / 0.7048 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.5381, allocations: 29.7 kB / 0.7048 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.5382, allocations: 203.7 kB / 0.705 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/0.5383, allocations: 63.47 kB / 0.7051 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.5385, allocations: 102 kB / 0.7052 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5386, allocations: 326.8 kB / 0.7055 GB, free: 172 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.5388, allocations: 68.7 kB / 0.7056 GB, free: 104 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.5391, allocations: 264 kB / 0.7058 GB, free: 15.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.5397, allocations: 364.8 kB / 0.7062 GB, free: 15.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.5397, allocations: 4 kB / 0.7062 GB, free: 15.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006948/0.5404, allocations: 369.2 kB / 0.7065 GB, free: 14.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.5404, allocations: 15.98 kB / 0.7065 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5404, allocations: 7.984 kB / 0.7066 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/0.5405, allocations: 15.94 kB / 0.7066 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.5409, allocations: 123.8 kB / 0.7067 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004613/0.5414, allocations: 0.6061 MB / 0.7073 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.5417, allocations: 39.73 kB / 0.7073 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.719e-05/0.5417, allocations: 40 kB / 0.7074 GB, free: 14.06 MB / 0.545 GB 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.0001821/0.5419, allocations: 151.2 kB / 0.7075 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.542, allocations: 23.86 kB / 0.7075 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008841/0.5429, allocations: 431.9 kB / 0.7079 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.5429, allocations: 8 kB / 0.7079 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5429, allocations: 0 / 0.7079 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.5429, allocations: 4 kB / 0.7079 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009203/0.5438, allocations: 0.4884 MB / 0.7084 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5438, allocations: 4 kB / 0.7084 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.5441, allocations: 51.97 kB / 0.7085 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.5441, allocations: 4 kB / 0.7085 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.5441, allocations: 11.98 kB / 0.7085 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003957/0.5445, allocations: 0.5978 MB / 0.7091 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5445, allocations: 4.031 kB / 0.7091 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.5449, allocations: 293.3 kB / 0.7094 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/0.545, allocations: 35.81 kB / 0.7094 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.545, allocations: 11.89 kB / 0.7094 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.5453, allocations: 8 kB / 0.7094 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.5454, allocations: 15.97 kB / 0.7094 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.5454, allocations: 23.98 kB / 0.7095 GB, free: 11.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001376/0.5455, allocations: 135.6 kB / 0.7096 GB, free: 11.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5455, allocations: 4.094 kB / 0.7096 GB, free: 11.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006998/0.5462, allocations: 151.7 kB / 0.7097 GB, free: 11.49 MB / 0.545 GB 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.0005254/0.5468, allocations: 222.9 kB / 0.7099 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006123/0.5474, allocations: 233.1 kB / 0.7102 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5474, allocations: 0 / 0.7102 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.5476, allocations: 79.88 kB / 0.7102 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.5482, allocations: 64.25 kB / 0.7103 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.5497, allocations: 0.7276 MB / 0.711 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.5499, allocations: 116.4 kB / 0.7111 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.5502, allocations: 95.34 kB / 0.7112 GB, free: 9.887 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.5502, allocations: 0 / 0.7112 GB, free: 9.887 MB / 0.545 GB Notification: Performance of Templates: time 0.009277/0.5594, allocations: 5.432 MB / 0.7165 GB, free: 4.457 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.795256384008098]