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.001336/0.001336, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.00105/0.00105, allocations: 173.8 kB / 25.61 MB, free: 8.898 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 0.9173/0.9173, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1349/0.1349, allocations: 34.25 MB / 296.8 MB, free: 13.95 MB / 282.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|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.473e-06/1.473e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.519e-05, allocations: 6.25 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2785/0.2785, allocations: 143.3 MB / 0.5104 GB, free: 16.49 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003138/0.2817, allocations: 5.18 MB / 0.5154 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.2817, allocations: 2.156 kB / 0.5154 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.282, allocations: 59.97 kB / 0.5155 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.2837, allocations: 1.282 MB / 0.5167 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.2839, allocations: 148.4 kB / 0.5169 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.2842, allocations: 422 kB / 0.5173 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.2843, allocations: 5.375 kB / 0.5173 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.2845, allocations: 237.4 kB / 0.5175 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.2847, allocations: 157.9 kB / 0.5177 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.2847, allocations: 11.28 kB / 0.5177 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008827/0.2856, allocations: 0.9445 MB / 0.5186 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.2856, allocations: 49.45 kB / 0.5187 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.2857, allocations: 83.59 kB / 0.5187 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007789/0.2865, allocations: 0.9332 MB / 0.5196 GB, free: 16.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2865, allocations: 0 / 0.5196 GB, free: 16.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2865, allocations: 0 / 0.5196 GB, free: 16.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2865, allocations: 4 kB / 0.5196 GB, free: 16.25 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.000721/0.2872, allocations: 0.7177 MB / 0.5203 GB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.61e-05/0.2872, allocations: 8.688 kB / 0.5204 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003714/0.2909, allocations: 0.6616 MB / 0.521 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.2912, allocations: 206 kB / 0.5212 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.2912, allocations: 225.5 kB / 0.5214 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.2913, allocations: 30.94 kB / 0.5214 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.2918, allocations: 0.6967 MB / 0.5221 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2918, allocations: 0 / 0.5221 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.2919, allocations: 10.25 kB / 0.5221 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.2919, allocations: 5.219 kB / 0.5221 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.2923, allocations: 453.8 kB / 0.5226 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.2933, allocations: 1.796 MB / 0.5243 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.2934, allocations: 126.8 kB / 0.5244 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.2935, allocations: 55.44 kB / 0.5245 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.2937, allocations: 462.1 kB / 0.5249 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.2937, allocations: 36.95 kB / 0.525 GB, free: 13.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.2937, allocations: 0 / 0.525 GB, free: 13.04 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.0005013/0.2942, allocations: 276 kB / 0.5252 GB, free: 12.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.591e-05/0.2943, allocations: 51.41 kB / 0.5253 GB, free: 12.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.2943, allocations: 268.3 kB / 0.5255 GB, free: 12.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.2944, allocations: 26.91 kB / 0.5256 GB, free: 12.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.2944, allocations: 245.7 kB / 0.5258 GB, free: 12.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.2944, allocations: 71.03 kB / 0.5259 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.903e-05/0.2945, allocations: 103.2 kB / 0.526 GB, free: 12.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.218e-05/0.2946, allocations: 0.5027 MB / 0.5265 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.674e-05/0.2946, allocations: 41.67 kB / 0.5265 GB, free: 11.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2947, allocations: 334.7 kB / 0.5268 GB, free: 11.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.2949, allocations: 416.6 kB / 0.5272 GB, free: 11.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2949, allocations: 5.969 kB / 0.5272 GB, free: 11.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003113/0.2952, allocations: 347.6 kB / 0.5276 GB, free: 11.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2952, allocations: 6.5 kB / 0.5276 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2952, allocations: 8.844 kB / 0.5276 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2953, allocations: 9.406 kB / 0.5276 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.2955, allocations: 121.6 kB / 0.5277 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001603/0.2956, allocations: 0.9175 MB / 0.5286 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.2957, allocations: 44.58 kB / 0.5286 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.2958, allocations: 40.2 kB / 0.5287 GB, free: 10.22 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 6.778e-05/0.2958, allocations: 184.1 kB / 0.5288 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.2959, allocations: 22.09 kB / 0.5289 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.2963, allocations: 418.8 kB / 0.5293 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2963, allocations: 9.719 kB / 0.5293 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.2963, allocations: 1.094 kB / 0.5293 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2963, allocations: 0 / 0.5293 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.2966, allocations: 0.5065 MB / 0.5298 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2966, allocations: 3.781 kB / 0.5298 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.2967, allocations: 65.23 kB / 0.5298 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2968, allocations: 3.406 kB / 0.5298 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2968, allocations: 8.938 kB / 0.5298 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001204/0.2969, allocations: 0.8981 MB / 0.5307 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2969, allocations: 3.5 kB / 0.5307 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.297, allocations: 342.8 kB / 0.5311 GB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.2971, allocations: 34.12 kB / 0.5311 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.2971, allocations: 17.05 kB / 0.5311 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.2972, allocations: 10.22 kB / 0.5311 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.2972, allocations: 27.27 kB / 0.5311 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.2973, allocations: 17.38 kB / 0.5312 GB, free: 8.383 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.697e-05/0.2973, allocations: 175.1 kB / 0.5313 GB, free: 8.262 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2973, allocations: 0 / 0.5313 GB, free: 8.262 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003578/0.2977, allocations: 148.7 kB / 0.5315 GB, free: 8.246 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.0002698/0.2979, allocations: 249 kB / 0.5317 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.2982, allocations: 210.6 kB / 0.5319 GB, free: 8.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2982, allocations: 0 / 0.5319 GB, free: 8.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.2983, allocations: 77.58 kB / 0.532 GB, free: 8.109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2986, allocations: 81.2 kB / 0.5321 GB, free: 8.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008653/0.2995, allocations: 0.7035 MB / 0.5327 GB, free: 7.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.95e-05/0.2995, allocations: 76.02 kB / 0.5328 GB, free: 7.707 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004014/0.2999, allocations: 376.2 kB / 0.5332 GB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.3001, allocations: 191.8 kB / 0.5334 GB, free: 7.578 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3001, allocations: 0 / 0.5334 GB, free: 7.578 MB / 410.7 MB Notification: Performance of Templates: time 0.006795/0.3069, allocations: 6.198 MB / 0.5394 GB, free: 5.648 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=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","",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: 3.580171160865575]