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.001711/0.001711, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002412/0.002412, allocations: 161.7 kB / 24.26 MB, free: 176 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.521/1.521, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3626/0.3626, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|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.964e-06/1.964e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.407e-05/3.604e-05, allocations: 2.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3708/0.3709, allocations: 132 MB / 0.4954 GB, free: 26.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008269/0.3791, allocations: 4.604 MB / 0.4999 GB, free: 23.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.3793, allocations: 1 kB / 0.4999 GB, free: 23.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.3797, allocations: 54.44 kB / 0.5 GB, free: 23.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00641/0.3862, allocations: 1.266 MB / 0.5012 GB, free: 22.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.3868, allocations: 144.4 kB / 0.5014 GB, free: 22.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007645/0.3875, allocations: 401.7 kB / 0.5017 GB, free: 22.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.3876, allocations: 8.156 kB / 0.5017 GB, free: 22.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.3881, allocations: 226.2 kB / 0.502 GB, free: 22.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.3886, allocations: 165.3 kB / 0.5021 GB, free: 22.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.3887, allocations: 8.188 kB / 0.5021 GB, free: 22.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.3922, allocations: 0.9397 MB / 0.503 GB, free: 22.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3923, allocations: 46.02 kB / 0.5031 GB, free: 22.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.3924, allocations: 83.55 kB / 0.5032 GB, free: 22.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.3948, allocations: 0.9465 MB / 0.5041 GB, free: 21.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3948, allocations: 1.062 kB / 0.5041 GB, free: 21.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3948, allocations: 0 / 0.5041 GB, free: 21.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3948, allocations: 0.6562 kB / 0.5041 GB, free: 21.74 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.001898/0.3967, allocations: 0.6194 MB / 0.5047 GB, free: 21.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.3968, allocations: 10.22 kB / 0.5047 GB, free: 21.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.4076, allocations: 0.7188 MB / 0.5054 GB, free: 21.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.4081, allocations: 212.6 kB / 0.5056 GB, free: 21.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.4082, allocations: 229.1 kB / 0.5058 GB, free: 20.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.4083, allocations: 29.06 kB / 0.5059 GB, free: 20.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.4096, allocations: 0.7412 MB / 0.5066 GB, free: 20.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4096, allocations: 0 / 0.5066 GB, free: 20.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.88e-05/0.4097, allocations: 12 kB / 0.5066 GB, free: 20.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.4097, allocations: 7.5 kB / 0.5066 GB, free: 20.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.4109, allocations: 0.588 MB / 0.5072 GB, free: 20.14 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.001802/0.4127, allocations: 1.404 MB / 0.5085 GB, free: 18.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.413, allocations: 155.9 kB / 0.5087 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.4131, allocations: 69.3 kB / 0.5088 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/0.4136, allocations: 376.3 kB / 0.5091 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.4136, allocations: 37.06 kB / 0.5092 GB, free: 18.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.4136, allocations: 0 / 0.5092 GB, free: 18.55 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.001059/0.4147, allocations: 328.2 kB / 0.5095 GB, free: 18.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.4147, allocations: 56.75 kB / 0.5095 GB, free: 18.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4149, allocations: 203.1 kB / 0.5097 GB, free: 18.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.4149, allocations: 32.17 kB / 0.5097 GB, free: 18.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.415, allocations: 190.6 kB / 0.5099 GB, free: 18.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.415, allocations: 67.31 kB / 0.51 GB, free: 17.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.4151, allocations: 97.33 kB / 0.5101 GB, free: 17.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.4152, allocations: 333.4 kB / 0.5104 GB, free: 17.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.4153, allocations: 67.14 kB / 0.5105 GB, free: 17.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.4155, allocations: 260.9 kB / 0.5107 GB, free: 17.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.4158, allocations: 366.1 kB / 0.5111 GB, free: 16.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4158, allocations: 2.906 kB / 0.5111 GB, free: 16.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005852/0.4164, allocations: 393.5 kB / 0.5114 GB, free: 16.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4164, allocations: 9.438 kB / 0.5114 GB, free: 16.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4165, allocations: 6.531 kB / 0.5115 GB, free: 16.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.4165, allocations: 9.781 kB / 0.5115 GB, free: 16.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.4169, allocations: 125.8 kB / 0.5116 GB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002211/0.4171, allocations: 0.6056 MB / 0.5122 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.4174, allocations: 41.55 kB / 0.5122 GB, free: 16.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.4174, allocations: 50.33 kB / 0.5123 GB, free: 16.18 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.0001111/0.4175, allocations: 140.1 kB / 0.5124 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.4176, allocations: 21.31 kB / 0.5124 GB, free: 16.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.4183, allocations: 437.4 kB / 0.5128 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4183, allocations: 2.875 kB / 0.5128 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4183, allocations: 0 / 0.5128 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4183, allocations: 5.719 kB / 0.5128 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.419, allocations: 494.2 kB / 0.5133 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.419, allocations: 6.281 kB / 0.5133 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.4192, allocations: 63.86 kB / 0.5134 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4192, allocations: 2.438 kB / 0.5134 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.4192, allocations: 11.67 kB / 0.5134 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001722/0.4194, allocations: 0.5943 MB / 0.514 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4194, allocations: 5.938 kB / 0.514 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.4197, allocations: 289.2 kB / 0.5143 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.4198, allocations: 36.17 kB / 0.5143 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.4199, allocations: 5.469 kB / 0.5143 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.4202, allocations: 14.91 kB / 0.5143 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.4202, allocations: 23.27 kB / 0.5143 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.4203, allocations: 19.53 kB / 0.5144 GB, free: 14.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.638e-05/0.4204, allocations: 139 kB / 0.5145 GB, free: 14.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4204, allocations: 0 / 0.5145 GB, free: 14.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006897/0.421, allocations: 155.6 kB / 0.5146 GB, free: 14.53 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.0004654/0.4215, allocations: 245.1 kB / 0.5149 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.422, allocations: 214.4 kB / 0.5151 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.422, allocations: 0 / 0.5151 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.4222, allocations: 90.53 kB / 0.5152 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.4227, allocations: 83.5 kB / 0.5152 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.4239, allocations: 0.6672 MB / 0.5159 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.852e-05/0.424, allocations: 114.3 kB / 0.516 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005836/0.4246, allocations: 381.5 kB / 0.5164 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.4248, allocations: 66.02 kB / 0.5164 GB, free: 13.74 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4248, allocations: 4 kB / 0.5164 GB, free: 13.74 MB / 410.7 MB Notification: Performance of Templates: time 0.009545/0.4343, allocations: 5.287 MB / 0.5216 GB, free: 13.16 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.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: 5.517699831048958]