Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 158.4 kB / 25.61 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9823/0.9823, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1588/0.1588, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.145e-05, allocations: 3.219 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3267/0.3268, allocations: 143.3 MB / 0.5111 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.3307, allocations: 5.186 MB / 0.5161 GB, free: 16.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.3309, allocations: 2.656 kB / 0.5161 GB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.3312, allocations: 55.47 kB / 0.5162 GB, free: 16.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002643/0.3338, allocations: 1.283 MB / 0.5175 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.334, allocations: 149.4 kB / 0.5176 GB, free: 16.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.3345, allocations: 418.7 kB / 0.518 GB, free: 16.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.3346, allocations: 9.344 kB / 0.518 GB, free: 16.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.3349, allocations: 229 kB / 0.5182 GB, free: 16.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.3352, allocations: 162.9 kB / 0.5184 GB, free: 16.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3352, allocations: 10.94 kB / 0.5184 GB, free: 16.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.3366, allocations: 0.9464 MB / 0.5193 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.3367, allocations: 51.78 kB / 0.5194 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.5e-05/0.3368, allocations: 82.92 kB / 0.5194 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.3379, allocations: 0.9285 MB / 0.5203 GB, free: 16.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3379, allocations: 0 / 0.5203 GB, free: 16.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3379, allocations: 1.094 kB / 0.5203 GB, free: 16.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.338, allocations: 2.75 kB / 0.5203 GB, free: 16.05 MB / 410.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.001009/0.339, allocations: 0.7161 MB / 0.521 GB, free: 15.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.339, allocations: 10.81 kB / 0.5211 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003664/0.3427, allocations: 0.6631 MB / 0.5217 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.343, allocations: 202.7 kB / 0.5219 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.343, allocations: 229.8 kB / 0.5221 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.3431, allocations: 28.34 kB / 0.5221 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.3436, allocations: 0.6941 MB / 0.5228 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3436, allocations: 0 / 0.5228 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.3437, allocations: 13.02 kB / 0.5228 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.3437, allocations: 5.5 kB / 0.5228 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.3442, allocations: 449.2 kB / 0.5233 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.3452, allocations: 1.799 MB / 0.525 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.3454, allocations: 127.1 kB / 0.5251 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.3454, allocations: 57.67 kB / 0.5252 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.3457, allocations: 450.5 kB / 0.5256 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.3457, allocations: 41.67 kB / 0.5257 GB, free: 12.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.3457, allocations: 0 / 0.5257 GB, free: 12.85 MB / 410.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=17): time 0.00054/0.3463, allocations: 280.4 kB / 0.5259 GB, free: 12.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.3463, allocations: 54.19 kB / 0.526 GB, free: 12.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3464, allocations: 261.7 kB / 0.5262 GB, free: 12.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3464, allocations: 28.95 kB / 0.5263 GB, free: 12.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.3465, allocations: 245.4 kB / 0.5265 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.3465, allocations: 67.23 kB / 0.5266 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.3466, allocations: 106.6 kB / 0.5267 GB, free: 12.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.211e-05/0.3467, allocations: 0.5012 MB / 0.5272 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.225e-05/0.3467, allocations: 42.47 kB / 0.5272 GB, free: 11.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3468, allocations: 337.6 kB / 0.5275 GB, free: 11.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3471, allocations: 415.9 kB / 0.5279 GB, free: 11.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3471, allocations: 2.781 kB / 0.5279 GB, free: 11.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003382/0.3474, allocations: 350.8 kB / 0.5283 GB, free: 10.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3474, allocations: 8.312 kB / 0.5283 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.3474, allocations: 10.28 kB / 0.5283 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3474, allocations: 9.969 kB / 0.5283 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3477, allocations: 128 kB / 0.5284 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001802/0.3478, allocations: 0.9135 MB / 0.5293 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.348, allocations: 34.83 kB / 0.5293 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.348, allocations: 40.14 kB / 0.5294 GB, free: 10.03 MB / 410.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 8.2e-05/0.3481, allocations: 189.2 kB / 0.5295 GB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.3481, allocations: 28 kB / 0.5296 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.3485, allocations: 418.4 kB / 0.53 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3485, allocations: 6.938 kB / 0.53 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.3486, allocations: 0 / 0.53 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3486, allocations: 1.203 kB / 0.53 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.3489, allocations: 0.5077 MB / 0.5305 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3489, allocations: 2.531 kB / 0.5305 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.349, allocations: 58.64 kB / 0.5305 GB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.349, allocations: 6.906 kB / 0.5305 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3491, allocations: 8.141 kB / 0.5305 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001431/0.3492, allocations: 0.8996 MB / 0.5314 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3492, allocations: 2.562 kB / 0.5314 GB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.3494, allocations: 351.4 kB / 0.5318 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.3494, allocations: 32.2 kB / 0.5318 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3495, allocations: 8.469 kB / 0.5318 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3496, allocations: 22.75 kB / 0.5318 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.3496, allocations: 20.14 kB / 0.5318 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3496, allocations: 13.77 kB / 0.5319 GB, free: 8.184 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.873e-05/0.3497, allocations: 175.2 kB / 0.532 GB, free: 8.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3497, allocations: 2.156 kB / 0.532 GB, free: 8.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000434/0.3501, allocations: 152.2 kB / 0.5322 GB, free: 8.047 MB / 410.7 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.0003244/0.3504, allocations: 246 kB / 0.5324 GB, free: 7.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.3507, allocations: 205.2 kB / 0.5326 GB, free: 7.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3507, allocations: 4.656 kB / 0.5326 GB, free: 7.926 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.3508, allocations: 73.98 kB / 0.5327 GB, free: 7.914 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.3511, allocations: 82.94 kB / 0.5328 GB, free: 7.906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009672/0.3521, allocations: 0.6973 MB / 0.5334 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.3521, allocations: 77.44 kB / 0.5335 GB, free: 7.516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003959/0.3525, allocations: 377.5 kB / 0.5339 GB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.3527, allocations: 192.6 kB / 0.5341 GB, free: 7.387 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3527, allocations: 0 / 0.5341 GB, free: 7.387 MB / 410.7 MB Notification: Performance of Templates: time 0.006958/0.3597, allocations: 6.211 MB / 0.5401 GB, free: 5.316 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8447283688001335]