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.002112/0.002112, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002108/0.002108, allocations: 165.3 kB / 24.27 MB, free: 152 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.619/1.619, 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.3875/0.3875, allocations: 34.26 MB / 295.3 MB, free: 0.6992 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 2.023e-06/2.023e-06, allocations: 0 / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.224e-05, allocations: 2.312 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4368/0.4368, allocations: 145.7 MB / 0.5108 GB, free: 17.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006266/0.4431, allocations: 5.209 MB / 0.5159 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.4434, allocations: 0 / 0.5159 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.4437, allocations: 55.3 kB / 0.5159 GB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004162/0.4479, allocations: 1.251 MB / 0.5171 GB, free: 13.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.4482, allocations: 140.3 kB / 0.5173 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.4488, allocations: 415 kB / 0.5177 GB, free: 12.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.999e-05/0.4489, allocations: 7.594 kB / 0.5177 GB, free: 12.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004382/0.4493, allocations: 224.5 kB / 0.5179 GB, free: 12.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.4497, allocations: 161.3 kB / 0.518 GB, free: 12.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.4497, allocations: 9 kB / 0.5181 GB, free: 12.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.4519, allocations: 0.9377 MB / 0.519 GB, free: 12.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.452, allocations: 54.84 kB / 0.519 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.4521, allocations: 74.89 kB / 0.5191 GB, free: 12.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.4542, allocations: 0.956 MB / 0.52 GB, free: 12.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4542, allocations: 2.469 kB / 0.52 GB, free: 12.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4542, allocations: 0 / 0.52 GB, free: 12.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4543, allocations: 0 / 0.52 GB, free: 12.09 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.001458/0.4557, allocations: 0.7213 MB / 0.5207 GB, free: 11.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.4558, allocations: 8.656 kB / 0.5207 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007733/0.4635, allocations: 0.6602 MB / 0.5214 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005756/0.4641, allocations: 208.9 kB / 0.5216 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.4642, allocations: 226.5 kB / 0.5218 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.4643, allocations: 30.23 kB / 0.5218 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.4655, allocations: 0.8176 MB / 0.5226 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4655, allocations: 10.72 kB / 0.5226 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.547e-05/0.4656, allocations: 10.72 kB / 0.5226 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.4656, allocations: 6.281 kB / 0.5227 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.4667, allocations: 0.6549 MB / 0.5233 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.4687, allocations: 1.846 MB / 0.5251 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.469, allocations: 157.7 kB / 0.5252 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.4692, allocations: 79.34 kB / 0.5253 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.4697, allocations: 462.3 kB / 0.5258 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.4697, allocations: 43.47 kB / 0.5258 GB, free: 8.277 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.572e-06/0.4697, allocations: 0 / 0.5258 GB, free: 8.277 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.00104/0.4707, allocations: 327.8 kB / 0.5261 GB, free: 8.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.4708, allocations: 54.12 kB / 0.5262 GB, free: 8.121 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.4709, allocations: 274.2 kB / 0.5264 GB, free: 7.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4709, allocations: 32.3 kB / 0.5265 GB, free: 7.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.471, allocations: 246.4 kB / 0.5267 GB, free: 7.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.4711, allocations: 61.17 kB / 0.5268 GB, free: 7.598 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.4712, allocations: 113.1 kB / 0.5269 GB, free: 7.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.4712, allocations: 0.5023 MB / 0.5274 GB, free: 7.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4714, allocations: 67.92 kB / 0.5274 GB, free: 7.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.4716, allocations: 349.5 kB / 0.5278 GB, free: 6.633 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.472, allocations: 455.5 kB / 0.5282 GB, free: 6.176 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.472, allocations: 5.75 kB / 0.5282 GB, free: 6.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000593/0.4726, allocations: 394.3 kB / 0.5286 GB, free: 6.023 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4726, allocations: 9.906 kB / 0.5286 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4726, allocations: 8.219 kB / 0.5286 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.4726, allocations: 9.75 kB / 0.5286 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.473, allocations: 128.3 kB / 0.5287 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002808/0.4733, allocations: 0.9182 MB / 0.5296 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.4735, allocations: 41.58 kB / 0.5297 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.4736, allocations: 39.84 kB / 0.5297 GB, free: 5.066 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.0001127/0.4737, allocations: 198.2 kB / 0.5299 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.4738, allocations: 19.47 kB / 0.5299 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007052/0.4745, allocations: 449.3 kB / 0.5303 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.4745, allocations: 3.125 kB / 0.5303 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4745, allocations: 0 / 0.5303 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4745, allocations: 1.875 kB / 0.5303 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.4752, allocations: 0.5707 MB / 0.5309 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4752, allocations: 3.062 kB / 0.5309 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.4754, allocations: 51.98 kB / 0.5309 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4754, allocations: 6.906 kB / 0.5309 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.4754, allocations: 11.78 kB / 0.531 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002252/0.4756, allocations: 0.9014 MB / 0.5318 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4756, allocations: 3.938 kB / 0.5318 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.4759, allocations: 371.4 kB / 0.5322 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.476, allocations: 38.36 kB / 0.5322 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.4761, allocations: 10.61 kB / 0.5322 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.4763, allocations: 14.64 kB / 0.5323 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.4763, allocations: 24.45 kB / 0.5323 GB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.4764, allocations: 17.08 kB / 0.5323 GB, free: 2.996 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.4765, allocations: 189.7 kB / 0.5325 GB, free: 2.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4765, allocations: 0 / 0.5325 GB, free: 2.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006027/0.4771, allocations: 149.4 kB / 0.5326 GB, free: 2.832 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.0004224/0.4775, allocations: 244.8 kB / 0.5329 GB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.478, allocations: 241.6 kB / 0.5331 GB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.478, allocations: 0 / 0.5331 GB, free: 2.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.4782, allocations: 96.05 kB / 0.5332 GB, free: 2.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.4787, allocations: 75.67 kB / 0.5332 GB, free: 2.586 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.4799, allocations: 0.6925 MB / 0.5339 GB, free: 2.137 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.965e-05/0.48, allocations: 116.9 kB / 0.534 GB, free: 2.059 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005781/0.4806, allocations: 386.4 kB / 0.5344 GB, free: 2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.4807, allocations: 66.41 kB / 0.5345 GB, free: 1.977 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4807, allocations: 3.938 kB / 0.5345 GB, free: 1.973 MB / 410.7 MB Notification: Performance of Templates: time 0.009107/0.4898, allocations: 5.293 MB / 0.5396 GB, free: 424 kB / 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] 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.816337449941784]