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.001131/0.001131, allocations: 103.3 kB / 16.02 MB, free: 76 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.001099/0.0011, allocations: 184.9 kB / 16.92 MB, free: 6.691 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.745/1.745, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.4627/0.4627, allocations: 43.58 MB / 315 MB, free: 9.055 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.0006133/0.0006134, allocations: 12 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1686, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.3919/0.5605, allocations: 28.24 MB / 471.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01854/0.5791, allocations: 13.55 MB / 485.2 MB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.5795, allocations: 3.938 kB / 485.2 MB, free: 26.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.5801, allocations: 70.39 kB / 485.3 MB, free: 26.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02718/0.6073, allocations: 7.009 MB / 492.3 MB, free: 23.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.6086, allocations: 395.5 kB / 492.7 MB, free: 23.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.6098, allocations: 0.6805 MB / 493.4 MB, free: 23.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.6099, allocations: 13.66 kB / 493.4 MB, free: 23.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.6104, allocations: 186 kB / 493.6 MB, free: 23.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01222/0.6226, allocations: 6.3 MB / 499.9 MB, free: 20.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.6227, allocations: 9.562 kB / 499.9 MB, free: 20.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0357/0.6584, allocations: 13.42 MB / 0.5013 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.6587, allocations: 82.3 kB / 0.5014 GB, free: 16.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.659, allocations: 169.6 kB / 0.5015 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0312/0.6902, allocations: 6.752 MB / 0.5081 GB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.6902, allocations: 0 / 0.5081 GB, free: 12.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.6903, allocations: 0 / 0.5081 GB, free: 12.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.6903, allocations: 1.25 kB / 0.5081 GB, free: 12.17 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.007532/0.6978, allocations: 1.452 MB / 0.5095 GB, free: 11.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.6979, allocations: 10.66 kB / 0.5095 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.6981, allocations: 32.5 kB / 0.5096 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.6984, allocations: 249 kB / 0.5098 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.6984, allocations: 23.47 kB / 0.5098 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.6984, allocations: 30 kB / 0.5099 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.6992, allocations: 0.5084 MB / 0.5104 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6992, allocations: 0 / 0.5104 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.6993, allocations: 17.16 kB / 0.5104 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.6993, allocations: 29.52 kB / 0.5104 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009735/0.7003, allocations: 0.9147 MB / 0.5113 GB, free: 10.07 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.001833/0.7021, allocations: 1.897 MB / 0.5131 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006904/0.7028, allocations: 270.8 kB / 0.5134 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.703, allocations: 110 kB / 0.5135 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01758/0.7206, allocations: 15.75 MB / 0.5289 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005002/0.7211, allocations: 248.5 kB / 0.5291 GB, free: 5.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.835e-06/0.7212, allocations: 0 / 0.5291 GB, free: 5.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002223/0.7234, allocations: 0.785 MB / 0.5299 GB, free: 4.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.7235, allocations: 265 kB / 0.5302 GB, free: 4.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.7237, allocations: 209.1 kB / 0.5304 GB, free: 4.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.7238, allocations: 37.69 kB / 0.5304 GB, free: 4.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.7239, allocations: 191.4 kB / 0.5306 GB, free: 3.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.7241, allocations: 126.2 kB / 0.5307 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.7241, allocations: 53.69 kB / 0.5307 GB, free: 3.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.7243, allocations: 338.8 kB / 0.5311 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.7244, allocations: 89.06 kB / 0.5311 GB, free: 3.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.7249, allocations: 369.3 kB / 0.5315 GB, free: 2.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/0.7256, allocations: 0.4994 MB / 0.532 GB, free: 2.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.7257, allocations: 8 kB / 0.532 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001109/0.7268, allocations: 0.5004 MB / 0.5325 GB, free: 1.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.7268, allocations: 9 kB / 0.5325 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.7268, allocations: 12 kB / 0.5325 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.7269, allocations: 19.94 kB / 0.5325 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.7274, allocations: 183.7 kB / 0.5327 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007245/0.7282, allocations: 1.18 MB / 0.5339 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.7285, allocations: 36.03 kB / 0.5339 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.7285, allocations: 43.98 kB / 0.5339 GB, free: 128 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.0002265/0.7288, allocations: 173.5 kB / 0.5341 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.729, allocations: 31.72 kB / 0.5341 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.73, allocations: 486.5 kB / 0.5346 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.7301, allocations: 4 kB / 0.5346 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7301, allocations: 0 / 0.5346 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.7301, allocations: 3.938 kB / 0.5346 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009171/0.731, allocations: 0.607 MB / 0.5352 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.731, allocations: 0 / 0.5352 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.7314, allocations: 88.69 kB / 0.5353 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.7314, allocations: 4 kB / 0.5353 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.7314, allocations: 8 kB / 0.5353 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005866/0.732, allocations: 1.18 MB / 0.5364 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7321, allocations: 4.031 kB / 0.5364 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.7326, allocations: 319.5 kB / 0.5367 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.7327, allocations: 120.7 kB / 0.5369 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.7327, allocations: 18.17 kB / 0.5369 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.733, allocations: 12 kB / 0.5369 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.733, allocations: 15.97 kB / 0.5369 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.7331, allocations: 23.98 kB / 0.5369 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.7332, allocations: 164.5 kB / 0.5371 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7332, allocations: 0 / 0.5371 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.008169/0.7414, allocations: 1.624 MB / 0.5387 GB, free: 11.05 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.01093/0.7524, allocations: 2.271 MB / 0.5409 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.7537, allocations: 329.4 kB / 0.5412 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.7537, allocations: 0 / 0.5412 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.7541, allocations: 125.1 kB / 0.5413 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/0.7551, allocations: 112.3 kB / 0.5414 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5648/1.32, allocations: 140.4 MB / 0.6786 GB, free: 117.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/1.32, allocations: 0.751 MB / 0.6793 GB, free: 117.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006786/1.321, allocations: 146.9 kB / 0.6794 GB, free: 117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/1.321, allocations: 54.73 kB / 0.6795 GB, free: 117 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/1.321, allocations: 0 / 0.6795 GB, free: 117 MB / 494.1 MB Notification: Performance of Templates: time 0.05845/1.38, allocations: 47.04 MB / 0.7254 GB, free: 76.25 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