Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001491/0.001491, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001639/0.001639, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.593/1.593, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3904/0.3904, allocations: 34.26 MB / 295.3 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 377.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.39e-05, allocations: 2.312 kB / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3423/0.3423, allocations: 132 MB / 0.4974 GB, free: 24.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00591/0.3482, allocations: 4.613 MB / 0.5019 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.3485, allocations: 1.406 kB / 0.5019 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.3489, allocations: 54.02 kB / 0.502 GB, free: 21.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004118/0.353, allocations: 1.256 MB / 0.5032 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.3534, allocations: 144.2 kB / 0.5033 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008312/0.3543, allocations: 406.3 kB / 0.5037 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.85e-05/0.3543, allocations: 11.67 kB / 0.5037 GB, free: 20.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000636/0.355, allocations: 227.5 kB / 0.5039 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000498/0.3555, allocations: 159.5 kB / 0.5041 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/0.3555, allocations: 8.531 kB / 0.5041 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.3578, allocations: 0.9319 MB / 0.505 GB, free: 19.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.358, allocations: 54.23 kB / 0.5051 GB, free: 19.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.3582, allocations: 82.11 kB / 0.5051 GB, free: 19.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.3607, allocations: 0.9519 MB / 0.5061 GB, free: 19.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3607, allocations: 1.375 kB / 0.5061 GB, free: 19.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3607, allocations: 0 / 0.5061 GB, free: 19.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.3608, allocations: 0 / 0.5061 GB, free: 19.57 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.001689/0.3624, allocations: 0.6157 MB / 0.5067 GB, free: 19.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3625, allocations: 10.12 kB / 0.5067 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007968/0.3704, allocations: 0.7174 MB / 0.5074 GB, free: 19.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.3711, allocations: 212.4 kB / 0.5076 GB, free: 18.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.3712, allocations: 227.1 kB / 0.5078 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.3714, allocations: 28.44 kB / 0.5078 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.3727, allocations: 0.7375 MB / 0.5085 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3727, allocations: 5.312 kB / 0.5086 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/0.3728, allocations: 6.75 kB / 0.5086 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.3728, allocations: 10.88 kB / 0.5086 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.374, allocations: 0.5926 MB / 0.5091 GB, free: 17.97 MB / 410.7 MB 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.001835/0.3759, allocations: 1.405 MB / 0.5105 GB, free: 16.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.3762, allocations: 154 kB / 0.5107 GB, free: 16.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.3763, allocations: 68.59 kB / 0.5107 GB, free: 16.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005234/0.3768, allocations: 373.9 kB / 0.5111 GB, free: 16.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.3769, allocations: 39.97 kB / 0.5111 GB, free: 16.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.713e-06/0.3769, allocations: 0 / 0.5111 GB, free: 16.39 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.00102/0.3779, allocations: 328.5 kB / 0.5114 GB, free: 16.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.3779, allocations: 51.41 kB / 0.5115 GB, free: 16.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.378, allocations: 207.8 kB / 0.5117 GB, free: 16.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3781, allocations: 25.7 kB / 0.5117 GB, free: 16.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.3781, allocations: 198.5 kB / 0.5119 GB, free: 15.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3782, allocations: 64.14 kB / 0.512 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3783, allocations: 94.89 kB / 0.5121 GB, free: 15.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.3783, allocations: 332.5 kB / 0.5124 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3785, allocations: 60.81 kB / 0.5124 GB, free: 15.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.3787, allocations: 274 kB / 0.5127 GB, free: 15.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.3791, allocations: 354.1 kB / 0.513 GB, free: 14.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3791, allocations: 2.25 kB / 0.513 GB, free: 14.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006034/0.3797, allocations: 398.4 kB / 0.5134 GB, free: 14.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3797, allocations: 12.56 kB / 0.5134 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3797, allocations: 7.969 kB / 0.5134 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.3797, allocations: 7.531 kB / 0.5134 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.3801, allocations: 124.2 kB / 0.5136 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002524/0.3804, allocations: 0.6078 MB / 0.5141 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.3806, allocations: 41.14 kB / 0.5142 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.3807, allocations: 43.44 kB / 0.5142 GB, free: 14.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 0.0001122/0.3808, allocations: 143.1 kB / 0.5144 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.3809, allocations: 28.81 kB / 0.5144 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.3816, allocations: 440 kB / 0.5148 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3816, allocations: 0 / 0.5148 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3816, allocations: 4 kB / 0.5148 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3816, allocations: 2.438 kB / 0.5148 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007148/0.3823, allocations: 497.6 kB / 0.5153 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3823, allocations: 0 / 0.5153 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.3825, allocations: 63.09 kB / 0.5154 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3825, allocations: 2.906 kB / 0.5154 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.3826, allocations: 7.188 kB / 0.5154 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001778/0.3827, allocations: 0.5962 MB / 0.5159 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3827, allocations: 8.375 kB / 0.516 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.383, allocations: 291 kB / 0.5162 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.3831, allocations: 37.52 kB / 0.5163 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.3832, allocations: 4.875 kB / 0.5163 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.3834, allocations: 13.05 kB / 0.5163 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.3835, allocations: 21.97 kB / 0.5163 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.3835, allocations: 24.12 kB / 0.5163 GB, free: 12.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.358e-05/0.3836, allocations: 135.8 kB / 0.5165 GB, free: 12.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3836, allocations: 0 / 0.5165 GB, free: 12.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006995/0.3843, allocations: 156.7 kB / 0.5166 GB, free: 12.38 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.0005202/0.3848, allocations: 244.1 kB / 0.5168 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.3853, allocations: 221.7 kB / 0.5171 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3853, allocations: 0 / 0.5171 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.3855, allocations: 78.89 kB / 0.5171 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.386, allocations: 81.47 kB / 0.5172 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3873, allocations: 0.6703 MB / 0.5179 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.779e-05/0.3874, allocations: 117.6 kB / 0.518 GB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005809/0.3879, allocations: 386.3 kB / 0.5183 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.3881, allocations: 68.95 kB / 0.5184 GB, free: 11.58 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3881, allocations: 2.781 kB / 0.5184 GB, free: 11.58 MB / 410.7 MB Notification: Performance of Templates: time 0.009364/0.3975, allocations: 5.275 MB / 0.5236 GB, free: 11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.686921719927341]