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.001003/0.001003, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001006/0.001006, allocations: 165 kB / 24.56 MB, free: 8 kB / 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 0.9955/0.9955, allocations: 177.1 MB / 205 MB, free: 5.641 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.2791/0.2791, allocations: 32.8 MB / 294.3 MB, free: 1.289 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 1.302e-06/1.302e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.338e-05, allocations: 6.312 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3035/0.3035, allocations: 146 MB / 0.5098 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004102/0.3076, allocations: 5.223 MB / 0.5149 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.3078, allocations: 3.156 kB / 0.5149 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.3081, allocations: 62.97 kB / 0.515 GB, free: 15.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.311, allocations: 1.278 MB / 0.5163 GB, free: 15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.3113, allocations: 151.7 kB / 0.5164 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.3118, allocations: 415.8 kB / 0.5168 GB, free: 14.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.3119, allocations: 7.75 kB / 0.5168 GB, free: 14.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.3121, allocations: 237.4 kB / 0.517 GB, free: 14.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.3124, allocations: 160.2 kB / 0.5172 GB, free: 14.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.3124, allocations: 9.031 kB / 0.5172 GB, free: 14.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.3141, allocations: 0.9449 MB / 0.5181 GB, free: 14.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.438e-05/0.3142, allocations: 47.02 kB / 0.5182 GB, free: 14.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.746e-05/0.3143, allocations: 85.56 kB / 0.5182 GB, free: 14.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.3157, allocations: 0.9328 MB / 0.5192 GB, free: 13.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3157, allocations: 4 kB / 0.5192 GB, free: 13.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3157, allocations: 0 / 0.5192 GB, free: 13.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.3157, allocations: 0 / 0.5192 GB, free: 13.95 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.001123/0.3169, allocations: 0.7092 MB / 0.5198 GB, free: 13.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3169, allocations: 15.19 kB / 0.5199 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003742/0.3206, allocations: 0.6598 MB / 0.5205 GB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.321, allocations: 203.5 kB / 0.5207 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/0.3211, allocations: 234.5 kB / 0.5209 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.3212, allocations: 31.5 kB / 0.521 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.3219, allocations: 0.7384 MB / 0.5217 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3219, allocations: 0 / 0.5217 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.3219, allocations: 10.78 kB / 0.5217 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.3219, allocations: 8.844 kB / 0.5217 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.3225, allocations: 0.5184 MB / 0.5222 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.3237, allocations: 1.808 MB / 0.524 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3239, allocations: 142 kB / 0.5241 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.3239, allocations: 59.77 kB / 0.5242 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.3243, allocations: 460.7 kB / 0.5246 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3243, allocations: 39.95 kB / 0.5246 GB, free: 10.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.504e-06/0.3243, allocations: 3.984 kB / 0.5246 GB, free: 10.26 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.0006071/0.3249, allocations: 298.8 kB / 0.5249 GB, free: 10.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.3249, allocations: 62.66 kB / 0.525 GB, free: 10.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.325, allocations: 263.6 kB / 0.5252 GB, free: 9.895 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.325, allocations: 29.7 kB / 0.5253 GB, free: 9.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.3251, allocations: 245.7 kB / 0.5255 GB, free: 9.637 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.3251, allocations: 67.58 kB / 0.5256 GB, free: 9.586 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.3252, allocations: 99.41 kB / 0.5257 GB, free: 9.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.3253, allocations: 0.5024 MB / 0.5261 GB, free: 9.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.3253, allocations: 51.05 kB / 0.5262 GB, free: 9.027 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3255, allocations: 341.2 kB / 0.5265 GB, free: 8.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.3257, allocations: 426 kB / 0.5269 GB, free: 8.203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3257, allocations: 2.875 kB / 0.5269 GB, free: 8.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003525/0.3261, allocations: 366.4 kB / 0.5273 GB, free: 8.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3261, allocations: 8.25 kB / 0.5273 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.3261, allocations: 8.406 kB / 0.5273 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3261, allocations: 9 kB / 0.5273 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.3264, allocations: 128.8 kB / 0.5274 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002297/0.3266, allocations: 0.9222 MB / 0.5283 GB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3267, allocations: 37.58 kB / 0.5284 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.3268, allocations: 43.36 kB / 0.5284 GB, free: 7.102 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.704e-05/0.3269, allocations: 185.3 kB / 0.5286 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.3269, allocations: 22 kB / 0.5286 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.3273, allocations: 430.8 kB / 0.529 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3273, allocations: 2.844 kB / 0.529 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3273, allocations: 0 / 0.529 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3274, allocations: 2.391 kB / 0.529 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.3278, allocations: 0.5414 MB / 0.5295 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3278, allocations: 2.688 kB / 0.5296 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3279, allocations: 56.67 kB / 0.5296 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3279, allocations: 2.906 kB / 0.5296 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3279, allocations: 11.94 kB / 0.5296 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001686/0.3281, allocations: 0.9032 MB / 0.5305 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3281, allocations: 10.53 kB / 0.5305 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.3283, allocations: 343.1 kB / 0.5308 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.3284, allocations: 45.14 kB / 0.5309 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.3284, allocations: 10.61 kB / 0.5309 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3285, allocations: 14.7 kB / 0.5309 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.3285, allocations: 20.97 kB / 0.5309 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.3286, allocations: 18 kB / 0.5309 GB, free: 5.066 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.94e-05/0.3286, allocations: 176.8 kB / 0.5311 GB, free: 4.938 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3286, allocations: 0 / 0.5311 GB, free: 4.938 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000445/0.3291, allocations: 149.5 kB / 0.5313 GB, free: 4.91 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.0003563/0.3294, allocations: 245.6 kB / 0.5315 GB, free: 4.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003255/0.3298, allocations: 215.8 kB / 0.5317 GB, free: 4.723 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3298, allocations: 2.5 kB / 0.5317 GB, free: 4.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.153e-05/0.3299, allocations: 81.89 kB / 0.5318 GB, free: 4.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3302, allocations: 81.7 kB / 0.5319 GB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.3313, allocations: 0.6942 MB / 0.5325 GB, free: 4.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.664e-05/0.3314, allocations: 73.39 kB / 0.5326 GB, free: 4.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003982/0.3318, allocations: 385.4 kB / 0.533 GB, free: 4.102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.3319, allocations: 70.5 kB / 0.533 GB, free: 4.078 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.3319, allocations: 3.5 kB / 0.533 GB, free: 4.078 MB / 410.7 MB Notification: Performance of Templates: time 0.007592/0.3395, allocations: 6.11 MB / 0.539 GB, free: 2.324 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.6805096501484513]