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.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.001454/0.001454, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002747/0.002747, allocations: 211.9 kB / 23.73 MB, free: 4.16 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2373/0.2373, allocations: 44.93 MB / 358.8 MB, free: 6.137 MB / 286.1 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 67.89 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3524, allocations: 65.48 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1874/0.5398, allocations: 132 MB / 0.6864 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00701/0.5468, allocations: 4.618 MB / 0.6909 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.547, allocations: 0 / 0.6909 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.5473, allocations: 43.62 kB / 0.6909 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.5511, allocations: 1.231 MB / 0.6921 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.5514, allocations: 147.4 kB / 0.6923 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006775/0.5521, allocations: 402 kB / 0.6927 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.612e-05/0.5522, allocations: 9.812 kB / 0.6927 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000386/0.5526, allocations: 179.2 kB / 0.6928 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.553, allocations: 167.5 kB / 0.693 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.647e-05/0.553, allocations: 8 kB / 0.693 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.5553, allocations: 0.9362 MB / 0.6939 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.5554, allocations: 51.81 kB / 0.694 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.5556, allocations: 95.58 kB / 0.6941 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.5573, allocations: 0.8452 MB / 0.6949 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5573, allocations: 0 / 0.6949 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5573, allocations: 0 / 0.6949 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5573, allocations: 0 / 0.6949 GB, free: 10.23 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.001542/0.5588, allocations: 0.6138 MB / 0.6955 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.5589, allocations: 12.03 kB / 0.6955 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008147/0.567, allocations: 0.6015 MB / 0.6961 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.5676, allocations: 221.4 kB / 0.6963 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.5678, allocations: 226.1 kB / 0.6965 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.5679, allocations: 20 kB / 0.6965 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.5693, allocations: 0.7422 MB / 0.6973 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5694, allocations: 0 / 0.6973 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.5694, allocations: 12 kB / 0.6973 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.5694, allocations: 4 kB / 0.6973 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.571, allocations: 0.626 MB / 0.6979 GB, free: 6.973 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.002264/0.5732, allocations: 1.409 MB / 0.6993 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.5736, allocations: 150.3 kB / 0.6994 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.5738, allocations: 76.81 kB / 0.6995 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005792/0.5743, allocations: 372 kB / 0.6998 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5744, allocations: 38.55 kB / 0.6999 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.5744, allocations: 0 / 0.6999 GB, free: 4.824 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.001065/0.5754, allocations: 326.3 kB / 0.7002 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.5755, allocations: 59.34 kB / 0.7002 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.5757, allocations: 203 kB / 0.7004 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.5757, allocations: 29.7 kB / 0.7005 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.5759, allocations: 191.7 kB / 0.7006 GB, free: 4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.5759, allocations: 67.47 kB / 0.7007 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.5761, allocations: 102 kB / 0.7008 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.5762, allocations: 326.8 kB / 0.7011 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.5764, allocations: 64.7 kB / 0.7012 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.5767, allocations: 260 kB / 0.7014 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.5772, allocations: 370.2 kB / 0.7018 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5772, allocations: 0 / 0.7018 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007058/0.5779, allocations: 369.6 kB / 0.7021 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5779, allocations: 11.94 kB / 0.7021 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.578, allocations: 12.09 kB / 0.7021 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.578, allocations: 15.94 kB / 0.7022 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.5784, allocations: 127.8 kB / 0.7023 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004666/0.5789, allocations: 0.5977 MB / 0.7029 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.5791, allocations: 39.73 kB / 0.7029 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.5792, allocations: 43.98 kB / 0.7029 GB, free: 1.398 MB / 0.5294 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.0002203/0.5794, allocations: 145.6 kB / 0.7031 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.5795, allocations: 23.86 kB / 0.7031 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000916/0.5804, allocations: 432 kB / 0.7035 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5804, allocations: 4 kB / 0.7035 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5804, allocations: 0 / 0.7035 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5804, allocations: 0 / 0.7035 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008535/0.5813, allocations: 0.4923 MB / 0.704 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5813, allocations: 4.219 kB / 0.704 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.5816, allocations: 67.89 kB / 0.7041 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.5816, allocations: 7.938 kB / 0.7041 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.5816, allocations: 8 kB / 0.7041 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004095/0.582, allocations: 0.5976 MB / 0.7047 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.582, allocations: 4.031 kB / 0.7047 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.5824, allocations: 289.3 kB / 0.705 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.5825, allocations: 39.75 kB / 0.705 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.5826, allocations: 8 kB / 0.705 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.5828, allocations: 12.08 kB / 0.705 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.5828, allocations: 15.98 kB / 0.705 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.5829, allocations: 19.98 kB / 0.705 GB, free: 15.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001385/0.583, allocations: 139.6 kB / 0.7052 GB, free: 14.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.583, allocations: 0 / 0.7052 GB, free: 14.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006381/0.5837, allocations: 151.7 kB / 0.7053 GB, free: 14.82 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.0005096/0.5842, allocations: 236.4 kB / 0.7055 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005448/0.5847, allocations: 215.7 kB / 0.7058 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5847, allocations: 0 / 0.7058 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.5849, allocations: 85.45 kB / 0.7058 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.5855, allocations: 60.61 kB / 0.7059 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.587, allocations: 0.7119 MB / 0.7066 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.5871, allocations: 128.3 kB / 0.7067 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006851/0.5878, allocations: 373.1 kB / 0.7071 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.588, allocations: 63.38 kB / 0.7071 GB, free: 12.9 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.588, allocations: 0 / 0.7071 GB, free: 12.9 MB / 0.545 GB Notification: Performance of Templates: time 0.01125/0.5993, allocations: 5.557 MB / 0.7126 GB, free: 7.418 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.862885937094688]