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.00149/0.00149, allocations: 75.75 kB / 21.69 MB, free: 2.855 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.001591/0.001591, allocations: 167.8 kB / 24.99 MB, free: 8.805 MB / 18.57 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2755/0.2755, allocations: 32.81 MB / 294.6 MB, free: 1.223 MB / 266.7 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.[0-9,]+.|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.[0-9,]+.|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: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.395e-05, allocations: 9.766 kB / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.308/0.308, allocations: 145.7 MB / 0.5095 GB, free: 19.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003861/0.3119, allocations: 5.217 MB / 0.5146 GB, free: 15.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.777e-05/0.312, allocations: 6.656 kB / 0.5147 GB, free: 15.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.3124, allocations: 56.23 kB / 0.5147 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.3155, allocations: 1.245 MB / 0.5159 GB, free: 15.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.3158, allocations: 139.8 kB / 0.5161 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006021/0.3164, allocations: 412.9 kB / 0.5164 GB, free: 14.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.3165, allocations: 14.75 kB / 0.5165 GB, free: 14.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.3168, allocations: 223.4 kB / 0.5167 GB, free: 14.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.3171, allocations: 159.9 kB / 0.5168 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.3171, allocations: 5.406 kB / 0.5168 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.3188, allocations: 0.9384 MB / 0.5177 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.3189, allocations: 55 kB / 0.5178 GB, free: 14.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.319, allocations: 77.16 kB / 0.5179 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.3205, allocations: 0.9394 MB / 0.5188 GB, free: 14.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.3205, allocations: 0 / 0.5188 GB, free: 14.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3205, allocations: 0 / 0.5188 GB, free: 14.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3205, allocations: 0 / 0.5188 GB, free: 14.22 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.001528/0.322, allocations: 0.7108 MB / 0.5195 GB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.3221, allocations: 8.969 kB / 0.5195 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/0.3261, allocations: 0.6646 MB / 0.5201 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.3265, allocations: 203.8 kB / 0.5203 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-05/0.3266, allocations: 230.2 kB / 0.5206 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.3267, allocations: 29.34 kB / 0.5206 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.3274, allocations: 0.7404 MB / 0.5213 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3274, allocations: 0 / 0.5213 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-05/0.3275, allocations: 13.44 kB / 0.5213 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.3275, allocations: 5.969 kB / 0.5213 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.3281, allocations: 0.5231 MB / 0.5218 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.3294, allocations: 1.816 MB / 0.5236 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.3296, allocations: 141 kB / 0.5237 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.3297, allocations: 59.64 kB / 0.5238 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003578/0.33, allocations: 458.2 kB / 0.5242 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.3301, allocations: 40.42 kB / 0.5243 GB, free: 10.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.766e-06/0.3301, allocations: 4 kB / 0.5243 GB, free: 10.52 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.000665/0.3307, allocations: 287.9 kB / 0.5246 GB, free: 10.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.3307, allocations: 61.62 kB / 0.5246 GB, free: 10.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3309, allocations: 269.7 kB / 0.5249 GB, free: 10.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3309, allocations: 25.7 kB / 0.5249 GB, free: 10.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.3309, allocations: 245.4 kB / 0.5251 GB, free: 9.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.331, allocations: 65.38 kB / 0.5252 GB, free: 9.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.3311, allocations: 101.2 kB / 0.5253 GB, free: 9.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.3311, allocations: 0.5027 MB / 0.5258 GB, free: 9.305 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/0.3312, allocations: 51.62 kB / 0.5258 GB, free: 9.301 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.3313, allocations: 340.2 kB / 0.5262 GB, free: 8.914 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.3316, allocations: 423 kB / 0.5266 GB, free: 8.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3316, allocations: 2.75 kB / 0.5266 GB, free: 8.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000406/0.332, allocations: 373.3 kB / 0.5269 GB, free: 8.332 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.332, allocations: 8.344 kB / 0.5269 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.332, allocations: 5.656 kB / 0.5269 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.332, allocations: 11.72 kB / 0.5269 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.3323, allocations: 130.1 kB / 0.5271 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002196/0.3325, allocations: 0.9213 MB / 0.528 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3327, allocations: 37.7 kB / 0.528 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.3327, allocations: 44.05 kB / 0.528 GB, free: 7.371 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 9.633e-05/0.3328, allocations: 183.7 kB / 0.5282 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.3328, allocations: 21.75 kB / 0.5282 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000463/0.3333, allocations: 430.2 kB / 0.5286 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3333, allocations: 2.594 kB / 0.5287 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3333, allocations: 0 / 0.5287 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3333, allocations: 0 / 0.5287 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.3338, allocations: 0.5485 MB / 0.5292 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3338, allocations: 2.406 kB / 0.5292 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.3339, allocations: 59.62 kB / 0.5292 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.3339, allocations: 2.656 kB / 0.5292 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3339, allocations: 12.27 kB / 0.5293 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001824/0.3341, allocations: 0.9 MB / 0.5301 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3341, allocations: 7.875 kB / 0.5301 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.3343, allocations: 353.4 kB / 0.5305 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.3344, allocations: 34.2 kB / 0.5305 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.3344, allocations: 6.984 kB / 0.5305 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.3345, allocations: 15.58 kB / 0.5305 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.3346, allocations: 26.86 kB / 0.5306 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3346, allocations: 14.17 kB / 0.5306 GB, free: 5.332 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.603e-05/0.3347, allocations: 176.3 kB / 0.5307 GB, free: 5.203 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3347, allocations: 0 / 0.5307 GB, free: 5.203 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005402/0.3352, allocations: 152.5 kB / 0.5309 GB, free: 5.176 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.0004228/0.3356, allocations: 253.7 kB / 0.5311 GB, free: 5.039 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.336, allocations: 212.1 kB / 0.5313 GB, free: 4.984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.336, allocations: 3 kB / 0.5313 GB, free: 4.984 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.3361, allocations: 81.95 kB / 0.5314 GB, free: 4.957 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3365, allocations: 82.16 kB / 0.5315 GB, free: 4.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.3378, allocations: 0.6963 MB / 0.5322 GB, free: 4.492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.3378, allocations: 74.09 kB / 0.5322 GB, free: 4.422 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004443/0.3383, allocations: 386.7 kB / 0.5326 GB, free: 4.363 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.3384, allocations: 66.28 kB / 0.5327 GB, free: 4.344 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.3384, allocations: 0 / 0.5327 GB, free: 4.344 MB / 410.7 MB Notification: Performance of Templates: time 0.008479/0.3469, allocations: 5.3 MB / 0.5379 GB, free: 3.07 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] 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","",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: 3.7877821039874107]