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.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.002367/0.002367, allocations: 92.97 kB / 20.21 MB, free: 4.207 MB / 18.57 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.002357/0.002357, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2241/0.2241, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.585e-05/3.833e-05, allocations: 6.312 kB / 347 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4211/0.4211, allocations: 144 MB / 491 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007702/0.4288, allocations: 7.048 MB / 498 MB, free: 7.344 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.429, allocations: 3.281 kB / 498 MB, free: 7.344 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.4293, allocations: 50.92 kB / 498.1 MB, free: 7.305 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003745/0.433, allocations: 1.49 MB / 499.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.4333, allocations: 136.2 kB / 499.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.4338, allocations: 409.9 kB / 0.4884 GB, free: 6.176 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.4338, allocations: 7.312 kB / 0.4884 GB, free: 6.176 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.4341, allocations: 219.3 kB / 0.4886 GB, free: 6.098 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.4344, allocations: 163.1 kB / 0.4888 GB, free: 6.035 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.4345, allocations: 12 kB / 0.4888 GB, free: 6.031 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.4365, allocations: 1.128 MB / 0.4899 GB, free: 5.668 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.4366, allocations: 46.3 kB / 0.4899 GB, free: 5.637 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.4367, allocations: 87.03 kB / 0.49 GB, free: 5.602 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.4384, allocations: 1.1 MB / 0.4911 GB, free: 4.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4384, allocations: 2.719 kB / 0.4911 GB, free: 4.965 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4384, allocations: 0 / 0.4911 GB, free: 4.965 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.4384, allocations: 0 / 0.4911 GB, free: 4.965 MB / 362.7 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.001151/0.4395, allocations: 0.7484 MB / 0.4918 GB, free: 4.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.4396, allocations: 11.12 kB / 0.4918 GB, free: 4.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007171/0.4467, allocations: 0.6419 MB / 0.4925 GB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.4472, allocations: 215.5 kB / 0.4927 GB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.4474, allocations: 230.5 kB / 0.4929 GB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.933e-05/0.4474, allocations: 21.31 kB / 0.4929 GB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.4485, allocations: 0.8282 MB / 0.4937 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4485, allocations: 0 / 0.4937 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/0.4486, allocations: 11.03 kB / 0.4937 GB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.4486, allocations: 8.781 kB / 0.4937 GB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.4497, allocations: 0.6526 MB / 0.4944 GB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.4515, allocations: 1.859 MB / 0.4962 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.4518, allocations: 170.4 kB / 0.4963 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.4519, allocations: 74.08 kB / 0.4964 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009234/0.4529, allocations: 0.6896 MB / 0.4971 GB, free: 316 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.4529, allocations: 43.95 kB / 0.4971 GB, free: 268 kB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.4529, allocations: 0 / 0.4971 GB, free: 268 kB / 362.7 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.000985/0.4539, allocations: 343.5 kB / 0.4975 GB, free: 120 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.4539, allocations: 58.09 kB / 0.4975 GB, free: 52 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.4541, allocations: 263.2 kB / 0.4978 GB, free: 15.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.4542, allocations: 29.7 kB / 0.4978 GB, free: 15.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4543, allocations: 244.8 kB / 0.498 GB, free: 15.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/0.4544, allocations: 67.48 kB / 0.4981 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.4545, allocations: 98.8 kB / 0.4982 GB, free: 15.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.4548, allocations: 0.5052 MB / 0.4987 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.4549, allocations: 61.38 kB / 0.4987 GB, free: 14.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.4553, allocations: 357 kB / 0.4991 GB, free: 14.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/0.4559, allocations: 462.9 kB / 0.4995 GB, free: 14.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4559, allocations: 2.562 kB / 0.4995 GB, free: 14.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006224/0.4566, allocations: 383.3 kB / 0.4999 GB, free: 13.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4566, allocations: 13.09 kB / 0.4999 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4566, allocations: 5.719 kB / 0.4999 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.4566, allocations: 13.42 kB / 0.4999 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.457, allocations: 133.1 kB / 0.5 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000657/0.4577, allocations: 0.9183 MB / 0.5009 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.4579, allocations: 38.05 kB / 0.501 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.458, allocations: 41.06 kB / 0.501 GB, free: 12.85 MB / 378.7 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.0001821/0.4581, allocations: 195.9 kB / 0.5012 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.4582, allocations: 29.73 kB / 0.5012 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/0.4589, allocations: 316.1 kB / 0.5015 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.4589, allocations: 3.938 kB / 0.5015 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4589, allocations: 2.656 kB / 0.5015 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4589, allocations: 0 / 0.5015 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/0.4597, allocations: 0.5175 MB / 0.502 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4597, allocations: 6.938 kB / 0.502 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.4599, allocations: 61.25 kB / 0.5021 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4599, allocations: 3.938 kB / 0.5021 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.46, allocations: 7.984 kB / 0.5021 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005922/0.4605, allocations: 0.8972 MB / 0.503 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4606, allocations: 4 kB / 0.503 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.461, allocations: 346.3 kB / 0.5033 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4611, allocations: 35.83 kB / 0.5034 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.4612, allocations: 4.062 kB / 0.5034 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.4614, allocations: 19.98 kB / 0.5034 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.4615, allocations: 19.91 kB / 0.5034 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.4615, allocations: 12 kB / 0.5034 GB, free: 10.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.4617, allocations: 179.1 kB / 0.5036 GB, free: 10.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4617, allocations: 3.938 kB / 0.5036 GB, free: 10.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007805/0.4625, allocations: 187.7 kB / 0.5038 GB, free: 10.17 MB / 378.7 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.0009045/0.4634, allocations: 349.1 kB / 0.5041 GB, free: 9.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.464, allocations: 236.8 kB / 0.5043 GB, free: 9.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.464, allocations: 3.938 kB / 0.5043 GB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.4642, allocations: 99.83 kB / 0.5044 GB, free: 9.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.4648, allocations: 86.48 kB / 0.5045 GB, free: 9.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.4685, allocations: 1.924 MB / 0.5064 GB, free: 7.438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.4687, allocations: 112.6 kB / 0.5065 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00041/0.4691, allocations: 102.2 kB / 0.5066 GB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.4692, allocations: 48.47 kB / 0.5066 GB, free: 7.168 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4692, allocations: 4 kB / 0.5066 GB, free: 7.164 MB / 378.7 MB Notification: Performance of Templates: time 0.01374/0.483, allocations: 6.268 MB / 0.5128 GB, free: 0.957 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.788993925089017]