Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.000805/0.000805, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001819, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007082/0.0007082, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008907/0.001599, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.042/1.042, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1131/1.155, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.3226/0.3226, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03266/0.3552, allocations: 12.53 MB / 289.3 MB, free: 8.664 MB / 282.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.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.727e-06/3.727e-06, allocations: 1.281 kB / 290.7 MB, free: 7.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.281e-05/3.654e-05, allocations: 5.188 kB / 290.7 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01813/0.01816, allocations: 11.36 MB / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.03138, allocations: 11.77 MB / 313.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.03155, allocations: 0 / 313.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.03186, allocations: 75.5 kB / 313.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00994/0.04179, allocations: 3.084 MB / 316.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.04218, allocations: 155.7 kB / 317.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00453/0.04672, allocations: 3.959 MB / 321.1 MB, free: 9.742 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.488e-05/0.04679, allocations: 22.48 kB / 321.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.04704, allocations: 211.5 kB / 321.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007165/0.05421, allocations: 7.15 MB / 328.4 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.05424, allocations: 12 kB / 328.4 MB, free: 2.344 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004589/0.05883, allocations: 2.138 MB / 330.6 MB, free: 208 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.0589, allocations: 35.86 kB / 330.6 MB, free: 172 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.989e-05/0.059, allocations: 75.88 kB / 330.7 MB, free: 96 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002076/0.06108, allocations: 1.504 MB / 332.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.162e-05/0.0611, allocations: 0 / 332.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.0611, allocations: 0 / 332.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.043e-05/0.06112, allocations: 0 / 332.2 MB, free: 14.59 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001822/0.06295, allocations: 1.127 MB / 333.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.06299, allocations: 12.03 kB / 333.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007435/0.06373, allocations: 160.4 kB / 333.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.06398, allocations: 181.4 kB / 333.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.064, allocations: 17.03 kB / 333.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.06403, allocations: 28.38 kB / 333.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/0.06469, allocations: 441.2 kB / 334.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.0647, allocations: 192 / 334.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.06473, allocations: 16.12 kB / 334.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.06474, allocations: 8 kB / 334.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006101/0.06535, allocations: 383.7 kB / 334.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.06947, allocations: 2.575 MB / 337.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.06988, allocations: 177.4 kB / 337.3 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.06994, allocations: 49.39 kB / 337.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03479/0.1047, allocations: 19.59 MB / 356.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004793/0.1052, allocations: 327.2 kB / 357.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 2.365e-06/0.1052, allocations: 0 / 357.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.000922/0.1061, allocations: 0.5107 MB / 357.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.1063, allocations: 486.6 kB / 358.2 MB, free: 4.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.1064, allocations: 163.5 kB / 358.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1064, allocations: 33.7 kB / 358.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.1065, allocations: 164.4 kB / 358.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.261e-05/0.1065, allocations: 130.9 kB / 358.7 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.1066, allocations: 90.09 kB / 358.8 MB, free: 3.539 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.1067, allocations: 334.7 kB / 359.1 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.1067, allocations: 33.25 kB / 359.2 MB, free: 3.172 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1069, allocations: 285.5 kB / 359.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.1071, allocations: 388.6 kB / 359.8 MB, free: 2.281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1072, allocations: 8 kB / 359.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003069/0.1075, allocations: 309.9 kB / 360.1 MB, free: 1.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1075, allocations: 8 kB / 360.1 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1075, allocations: 8 kB / 360.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000512/0.108, allocations: 133.5 kB / 360.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.1082, allocations: 119.8 kB / 360.4 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002941/0.1085, allocations: 0.6093 MB / 361 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.1086, allocations: 39.73 kB / 361 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.1087, allocations: 24 kB / 361.1 MB, free: 1 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.1088, allocations: 156.3 kB / 361.2 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.1088, allocations: 31.98 kB / 361.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007034/0.1095, allocations: 0.6458 MB / 361.9 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.1095, allocations: 4 kB / 361.9 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.1095, allocations: 0 / 361.9 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1095, allocations: 7.984 kB / 361.9 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008546/0.1104, allocations: 0.6578 MB / 362.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1104, allocations: 3.75 kB / 362.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.1105, allocations: 51.89 kB / 362.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.1105, allocations: 27.83 kB / 362.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000395/0.1109, allocations: 124.8 kB / 362.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1109, allocations: 8 kB / 362.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002214/0.1111, allocations: 0.5899 MB / 363.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.1111, allocations: 15.88 kB / 363.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1114, allocations: 392.2 kB / 363.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.1114, allocations: 55.52 kB / 363.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1115, allocations: 16.05 kB / 363.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.1116, allocations: 23.91 kB / 363.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1116, allocations: 8 kB / 363.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1117, allocations: 160.7 kB / 364 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1117, allocations: 0 / 364 MB, free: 13.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001114/0.1128, allocations: 434.6 kB / 364.5 MB, free: 13.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/0.114, allocations: 0.7038 MB / 365.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.1143, allocations: 221.9 kB / 365.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.1143, allocations: 8 kB / 365.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.183e-05/0.1144, allocations: 99.53 kB / 365.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.115, allocations: 225.4 kB / 365.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8596/0.9746, allocations: 485.3 MB / 0.831 GB, free: 112.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.665e-05/0.9746, allocations: 109.1 kB / 0.8311 GB, free: 112.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003138/0.9749, allocations: 159.2 kB / 0.8313 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.9751, allocations: 135.3 kB / 0.8314 GB, free: 112.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.803e-06/0.9751, allocations: 0 / 0.8314 GB, free: 112.3 MB / 458.7 MB Notification: Performance of Templates: time 0.01698/0.9921, allocations: 17.55 MB / 0.8485 GB, free: 94.96 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.769202505238354]