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.001167/0.001167, allocations: 102.7 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 194.5 kB / 17.56 MB, free: 5.938 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.4/1.4, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2026/0.2026, allocations: 43.51 MB / 314.3 MB, free: 0.7266 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.001637/0.001637, allocations: 75.08 kB / 382.9 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1103, allocations: 57.79 MB / 440.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03153/0.1419, allocations: 27.35 MB / 468 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.1581, allocations: 13.12 MB / 481.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.1585, allocations: 0 / 481.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005302/0.159, allocations: 63.69 kB / 481.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02466/0.1837, allocations: 7.74 MB / 488.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1848, allocations: 390.7 kB / 489.3 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000745/0.1855, allocations: 498.4 kB / 489.8 MB, free: 6.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.1856, allocations: 20.28 kB / 489.8 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.1859, allocations: 195.3 kB / 490 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01001/0.1959, allocations: 6.365 MB / 496.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.873e-05/0.1961, allocations: 12 kB / 496.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02376/0.2198, allocations: 13.07 MB / 0.4975 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.22, allocations: 91.7 kB / 0.4976 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.2203, allocations: 143.4 kB / 0.4977 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.2312, allocations: 4.464 MB / 0.5021 GB, free: 13.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2313, allocations: 0 / 0.5021 GB, free: 13.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2313, allocations: 0 / 0.5021 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2313, allocations: 4 kB / 0.5021 GB, free: 13.7 MB / 398.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.005176/0.2365, allocations: 1.505 MB / 0.5036 GB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2365, allocations: 19.88 kB / 0.5036 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.2367, allocations: 27.72 kB / 0.5036 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.237, allocations: 242.7 kB / 0.5038 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.2371, allocations: 24.55 kB / 0.5039 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.2371, allocations: 31.98 kB / 0.5039 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008469/0.238, allocations: 0.5129 MB / 0.5044 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.238, allocations: 3.938 kB / 0.5044 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.238, allocations: 23.94 kB / 0.5044 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.2381, allocations: 20.55 kB / 0.5044 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.2394, allocations: 0.9232 MB / 0.5054 GB, free: 10.25 MB / 398.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.002194/0.2416, allocations: 1.898 MB / 0.5072 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/0.2423, allocations: 271.8 kB / 0.5075 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.2425, allocations: 101.5 kB / 0.5076 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02047/0.263, allocations: 15.68 MB / 0.5229 GB, free: 5.148 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006083/0.2636, allocations: 256.1 kB / 0.5231 GB, free: 4.859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.2636, allocations: 4 kB / 0.5231 GB, free: 4.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.0025/0.2661, allocations: 0.7829 MB / 0.5239 GB, free: 4.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.2663, allocations: 269 kB / 0.5241 GB, free: 3.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.2666, allocations: 202.5 kB / 0.5243 GB, free: 3.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.2666, allocations: 37.7 kB / 0.5244 GB, free: 3.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2668, allocations: 199.4 kB / 0.5246 GB, free: 3.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.267, allocations: 122.3 kB / 0.5247 GB, free: 3.145 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.2671, allocations: 118 kB / 0.5248 GB, free: 3.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.2674, allocations: 338.8 kB / 0.5251 GB, free: 2.684 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2675, allocations: 93.05 kB / 0.5252 GB, free: 2.594 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.2681, allocations: 369.3 kB / 0.5256 GB, free: 2.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.2689, allocations: 0.4956 MB / 0.526 GB, free: 1.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2689, allocations: 8 kB / 0.526 GB, free: 1.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001318/0.2703, allocations: 0.5014 MB / 0.5265 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.2703, allocations: 11.94 kB / 0.5265 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.2703, allocations: 15.94 kB / 0.5266 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.2704, allocations: 16.03 kB / 0.5266 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.271, allocations: 175.7 kB / 0.5267 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.204/0.475, allocations: 1.188 MB / 0.5279 GB, free: 90.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.4756, allocations: 31.69 kB / 0.5279 GB, free: 90.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/0.4757, allocations: 52.16 kB / 0.528 GB, free: 90.46 MB / 414.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 (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.4759, allocations: 164.4 kB / 0.5281 GB, free: 90.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/0.4762, allocations: 30.23 kB / 0.5282 GB, free: 90.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.4773, allocations: 480.9 kB / 0.5286 GB, free: 90.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4773, allocations: 6.031 kB / 0.5286 GB, free: 90.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4773, allocations: 0.7812 kB / 0.5286 GB, free: 90.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.4773, allocations: 5.359 kB / 0.5286 GB, free: 90.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008888/0.4782, allocations: 0.6053 MB / 0.5292 GB, free: 89.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4783, allocations: 0.5625 kB / 0.5292 GB, free: 89.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.4787, allocations: 89.61 kB / 0.5293 GB, free: 89.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.4787, allocations: 1.344 kB / 0.5293 GB, free: 89.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.4787, allocations: 7.328 kB / 0.5293 GB, free: 89.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003361/0.4791, allocations: 1.175 MB / 0.5305 GB, free: 88.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4791, allocations: 4.906 kB / 0.5305 GB, free: 88.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.4796, allocations: 330.6 kB / 0.5308 GB, free: 88.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.4797, allocations: 99.62 kB / 0.5309 GB, free: 88.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.4798, allocations: 9.719 kB / 0.5309 GB, free: 88.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.48, allocations: 22.14 kB / 0.5309 GB, free: 88.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.4801, allocations: 24.58 kB / 0.5309 GB, free: 88.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.4801, allocations: 13.53 kB / 0.531 GB, free: 88.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.4803, allocations: 172.3 kB / 0.5311 GB, free: 88.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4803, allocations: 0 / 0.5311 GB, free: 88.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005054/0.4853, allocations: 1.615 MB / 0.5327 GB, free: 88.3 MB / 414.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 (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008389/0.4938, allocations: 2.28 MB / 0.5349 GB, free: 88.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.4952, allocations: 334.6 kB / 0.5352 GB, free: 88.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4952, allocations: 1.969 kB / 0.5352 GB, free: 88.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004601/0.4957, allocations: 129.8 kB / 0.5354 GB, free: 88.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.4965, allocations: 105.5 kB / 0.5355 GB, free: 88.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1812/0.6778, allocations: 140.9 MB / 0.6731 GB, free: 6.332 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.6782, allocations: 0.7495 MB / 0.6738 GB, free: 5.559 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.6785, allocations: 71.41 kB / 0.6739 GB, free: 5.488 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6785, allocations: 0 / 0.6739 GB, free: 5.488 MB / 462.1 MB Notification: Performance of Templates: time 0.2564/0.9349, allocations: 36.12 MB / 0.7092 GB, free: 169.9 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/jenkins1/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