Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009146, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 174.3 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4063/0.4063, allocations: 43.58 MB / 314.6 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005561/0.0005562, allocations: 15.94 kB / 384 MB, free: 7.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1666, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.3833/0.5499, allocations: 25.22 MB / 468 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02154/0.5715, allocations: 12.13 MB / 480.2 MB, free: 29.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004731/0.5721, allocations: 3.406 kB / 480.2 MB, free: 29.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.5727, allocations: 57.22 kB / 480.2 MB, free: 29.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0345/0.6072, allocations: 6.233 MB / 486.5 MB, free: 26.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.6085, allocations: 315.5 kB / 486.8 MB, free: 26.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.6096, allocations: 0.5788 MB / 487.4 MB, free: 26.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.6097, allocations: 18.28 kB / 487.4 MB, free: 26.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.6103, allocations: 183.2 kB / 487.5 MB, free: 26.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03006/0.6404, allocations: 11.36 MB / 498.9 MB, free: 24.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.6407, allocations: 8.625 kB / 498.9 MB, free: 24.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04831/0.689, allocations: 11.14 MB / 0.4981 GB, free: 21.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.6893, allocations: 81.59 kB / 0.4982 GB, free: 21.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.6896, allocations: 75.08 kB / 0.4982 GB, free: 21.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.709, allocations: 4.129 MB / 0.5023 GB, free: 19.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.699e-06/0.7091, allocations: 0 / 0.5023 GB, free: 19.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.7091, allocations: 7.938 kB / 0.5023 GB, free: 19.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.7091, allocations: 0 / 0.5023 GB, free: 19.61 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.008689/0.7178, allocations: 1.454 MB / 0.5037 GB, free: 18.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/0.7179, allocations: 8.031 kB / 0.5037 GB, free: 18.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.7182, allocations: 33.44 kB / 0.5037 GB, free: 18.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.7186, allocations: 246.6 kB / 0.504 GB, free: 18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.7187, allocations: 24.5 kB / 0.504 GB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.7188, allocations: 27.95 kB / 0.504 GB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.7199, allocations: 0.5091 MB / 0.5045 GB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.72, allocations: 7.938 kB / 0.5045 GB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/0.7201, allocations: 15.98 kB / 0.5046 GB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/0.7201, allocations: 20.55 kB / 0.5046 GB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.7216, allocations: 0.9193 MB / 0.5055 GB, free: 16.45 MB / 382.1 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.002898/0.7245, allocations: 1.898 MB / 0.5073 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.7255, allocations: 267.8 kB / 0.5076 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.7258, allocations: 105.4 kB / 0.5077 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02298/0.7488, allocations: 15.75 MB / 0.5231 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007807/0.7496, allocations: 248.5 kB / 0.5233 GB, free: 10.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 8.776e-06/0.7496, allocations: 0 / 0.5233 GB, free: 10.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003551/0.7532, allocations: 0.7856 MB / 0.5241 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.7534, allocations: 266 kB / 0.5243 GB, free: 9.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.7537, allocations: 208.8 kB / 0.5245 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.7538, allocations: 37.69 kB / 0.5245 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.754, allocations: 187.5 kB / 0.5247 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.7542, allocations: 126.2 kB / 0.5248 GB, free: 9.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.7542, allocations: 12 kB / 0.5249 GB, free: 9.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7544, allocations: 338.8 kB / 0.5252 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.7546, allocations: 89.06 kB / 0.5253 GB, free: 8.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/0.7553, allocations: 369.5 kB / 0.5256 GB, free: 8.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.7559, allocations: 151.8 kB / 0.5258 GB, free: 8.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.756, allocations: 8 kB / 0.5258 GB, free: 8.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002009/0.758, allocations: 0.4894 MB / 0.5262 GB, free: 7.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/0.7581, allocations: 8.938 kB / 0.5263 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/0.7581, allocations: 8 kB / 0.5263 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.723e-05/0.7582, allocations: 16 kB / 0.5263 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009983/0.7592, allocations: 188.7 kB / 0.5265 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.7602, allocations: 1.188 MB / 0.5276 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.7608, allocations: 32.03 kB / 0.5277 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.7609, allocations: 43.98 kB / 0.5277 GB, free: 6.191 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003284/0.7613, allocations: 173.6 kB / 0.5279 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.7616, allocations: 36.75 kB / 0.5279 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.7633, allocations: 491.7 kB / 0.5284 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.7633, allocations: 5 kB / 0.5284 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.7633, allocations: 0 / 0.5284 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.7633, allocations: 0 / 0.5284 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.7652, allocations: 0.5991 MB / 0.529 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.7653, allocations: 4 kB / 0.529 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.7658, allocations: 90.73 kB / 0.529 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.7659, allocations: 0 / 0.529 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.7659, allocations: 12 kB / 0.5291 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.7672, allocations: 1.18 MB / 0.5302 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7672, allocations: 0 / 0.5302 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.7683, allocations: 311.5 kB / 0.5305 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.7685, allocations: 128.7 kB / 0.5306 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/0.7686, allocations: 11.95 kB / 0.5306 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.7689, allocations: 19.92 kB / 0.5307 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.7691, allocations: 19.91 kB / 0.5307 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/0.7691, allocations: 16 kB / 0.5307 GB, free: 2.902 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.7694, allocations: 168.5 kB / 0.5309 GB, free: 2.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7694, allocations: 0 / 0.5309 GB, free: 2.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007562/0.7769, allocations: 1.612 MB / 0.5324 GB, free: 1.125 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01242/0.7894, allocations: 2.061 MB / 0.5344 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.7912, allocations: 328.2 kB / 0.5348 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.7912, allocations: 0 / 0.5348 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006121/0.7918, allocations: 125.6 kB / 0.5349 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009693/0.7928, allocations: 64.89 kB / 0.5349 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5719/1.365, allocations: 140.4 MB / 0.6721 GB, free: 121.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/1.365, allocations: 0.7538 MB / 0.6728 GB, free: 121.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000685/1.366, allocations: 139.3 kB / 0.6729 GB, free: 121.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/1.366, allocations: 46.73 kB / 0.673 GB, free: 121.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/1.366, allocations: 1.156 kB / 0.673 GB, free: 121.1 MB / 494.1 MB Notification: Performance of Templates: time 0.07157/1.437, allocations: 46.71 MB / 0.7186 GB, free: 83.32 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches