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.01025/0.01025, allocations: 100 kB / 15.87 MB, free: 6.309 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.001579/0.001579, allocations: 191.5 kB / 16.78 MB, free: 6.238 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.7/1.7, allocations: 205.1 MB / 222.6 MB, free: 4.949 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.4342/0.4342, allocations: 43.51 MB / 313.5 MB, free: 8.629 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.002264/0.002265, allocations: 67.89 kB / 382 MB, free: 9.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1807, allocations: 57.78 MB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.3598/0.5406, allocations: 29 MB / 468.8 MB, free: 36.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.557, allocations: 13.78 MB / 482.6 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.5572, allocations: 3.094 kB / 482.6 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.5577, allocations: 71.06 kB / 482.7 MB, free: 27.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02462/0.5823, allocations: 7.019 MB / 489.7 MB, free: 23.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.5835, allocations: 400.7 kB / 490.1 MB, free: 23.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009417/0.5845, allocations: 0.6847 MB / 490.8 MB, free: 23.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.5846, allocations: 16.86 kB / 490.8 MB, free: 23.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.5849, allocations: 176.3 kB / 491 MB, free: 23.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0135/0.5984, allocations: 6.3 MB / 497.3 MB, free: 21.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.5985, allocations: 9.062 kB / 497.3 MB, free: 21.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03934/0.6379, allocations: 13.42 MB / 0.4987 GB, free: 16.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.6381, allocations: 89.16 kB / 0.4988 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.6385, allocations: 140.4 kB / 0.4989 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03018/0.6686, allocations: 6.772 MB / 0.5055 GB, free: 12.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.6687, allocations: 0 / 0.5055 GB, free: 12.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.6687, allocations: 0 / 0.5055 GB, free: 12.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.6687, allocations: 0 / 0.5055 GB, free: 12.42 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.007612/0.6764, allocations: 1.519 MB / 0.507 GB, free: 11.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.6764, allocations: 10.72 kB / 0.507 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.6767, allocations: 33.62 kB / 0.5071 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.6769, allocations: 238.8 kB / 0.5073 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.677, allocations: 18.75 kB / 0.5073 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.677, allocations: 34.23 kB / 0.5073 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008573/0.6779, allocations: 0.5056 MB / 0.5078 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6779, allocations: 0 / 0.5078 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.6779, allocations: 22.17 kB / 0.5079 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.678, allocations: 32.11 kB / 0.5079 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.6791, allocations: 0.9154 MB / 0.5088 GB, free: 10.29 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.001979/0.681, allocations: 1.899 MB / 0.5106 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/0.6818, allocations: 279.9 kB / 0.5109 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.682, allocations: 106.7 kB / 0.511 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01919/0.7012, allocations: 15.68 MB / 0.5263 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006159/0.7018, allocations: 248.5 kB / 0.5266 GB, free: 5.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.645e-06/0.7019, allocations: 0 / 0.5266 GB, free: 5.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002535/0.7044, allocations: 0.7773 MB / 0.5273 GB, free: 5.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/0.7046, allocations: 269 kB / 0.5276 GB, free: 4.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.7048, allocations: 204.9 kB / 0.5278 GB, free: 4.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.7049, allocations: 37.89 kB / 0.5278 GB, free: 4.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.705, allocations: 203.4 kB / 0.528 GB, free: 4.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.7051, allocations: 126.2 kB / 0.5281 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.7053, allocations: 126 kB / 0.5282 GB, free: 4.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.7055, allocations: 338.8 kB / 0.5286 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.7056, allocations: 89.06 kB / 0.5286 GB, free: 3.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.7061, allocations: 369.3 kB / 0.529 GB, free: 3.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.7069, allocations: 0.5023 MB / 0.5295 GB, free: 2.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.707, allocations: 7.938 kB / 0.5295 GB, free: 2.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001252/0.7082, allocations: 0.5005 MB / 0.53 GB, free: 1.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.7083, allocations: 8 kB / 0.53 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.7083, allocations: 12 kB / 0.53 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.7083, allocations: 16.75 kB / 0.53 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.709, allocations: 179.8 kB / 0.5302 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007168/0.7097, allocations: 1.184 MB / 0.5314 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.71, allocations: 28.12 kB / 0.5314 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/0.7101, allocations: 51.98 kB / 0.5314 GB, free: 484 kB / 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 (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.0001932/0.7103, allocations: 169.5 kB / 0.5316 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.7105, allocations: 35.7 kB / 0.5316 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.7116, allocations: 499.8 kB / 0.5321 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.7117, allocations: 4 kB / 0.5321 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.7117, allocations: 3.938 kB / 0.5321 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.7117, allocations: 7.922 kB / 0.5321 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009676/0.7126, allocations: 0.607 MB / 0.5327 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.7127, allocations: 0 / 0.5327 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.713, allocations: 83.88 kB / 0.5328 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.7131, allocations: 4 kB / 0.5328 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.7131, allocations: 8 kB / 0.5328 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000596/0.7137, allocations: 1.172 MB / 0.5339 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7137, allocations: 4.031 kB / 0.5339 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.7143, allocations: 319.3 kB / 0.5343 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.7144, allocations: 104.8 kB / 0.5344 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.7144, allocations: 15.88 kB / 0.5344 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.7147, allocations: 11.98 kB / 0.5344 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.7147, allocations: 15.98 kB / 0.5344 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.7148, allocations: 19.92 kB / 0.5344 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.715, allocations: 172.4 kB / 0.5346 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.715, allocations: 4 kB / 0.5346 GB, free: 13.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.008896/0.7239, allocations: 1.616 MB / 0.5362 GB, free: 11.41 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.01407/0.738, allocations: 2.263 MB / 0.5384 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.7396, allocations: 324.8 kB / 0.5387 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.7396, allocations: 0 / 0.5387 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.74, allocations: 121.4 kB / 0.5388 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009163/0.741, allocations: 111.2 kB / 0.5389 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4476/1.189, allocations: 140.9 MB / 0.6765 GB, free: 128.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/1.189, allocations: 0.7567 MB / 0.6772 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006802/1.19, allocations: 143.6 kB / 0.6774 GB, free: 127.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.19, allocations: 54.28 kB / 0.6774 GB, free: 127.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.552e-06/1.19, allocations: 0 / 0.6774 GB, free: 127.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06012/1.25, allocations: 47.08 MB / 0.7234 GB, free: 87.67 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