Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008731/0.0008729, allocations: 94.94 kB / 18 MB, free: 5.613 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.001018/0.001018, allocations: 178.1 kB / 18.91 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 243 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2094/0.2094, allocations: 44.24 MB / 338.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 8.594 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03732/0.1666, allocations: 28.06 MB / 0.4892 GB, free: 1.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.1814, allocations: 11.51 MB / 0.5005 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002468/0.1817, allocations: 0 / 0.5005 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.1821, allocations: 67.67 kB / 0.5005 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2835/0.4657, allocations: 7.597 MB / 0.508 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.4668, allocations: 399.2 kB / 0.5083 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.4681, allocations: 0.6774 MB / 0.509 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.934e-05/0.4682, allocations: 16.75 kB / 0.509 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005734/0.4687, allocations: 183.5 kB / 0.5092 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01255/0.4813, allocations: 6.302 MB / 0.5154 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.973e-05/0.4814, allocations: 9.875 kB / 0.5154 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02672/0.5082, allocations: 13.74 MB / 0.5288 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.5083, allocations: 89 kB / 0.5289 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.5086, allocations: 174 kB / 0.529 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009832/0.5184, allocations: 4.554 MB / 0.5335 GB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5185, allocations: 0 / 0.5335 GB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5185, allocations: 0 / 0.5335 GB, free: 9.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.5185, allocations: 0 / 0.5335 GB, free: 9.863 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.004226/0.5227, allocations: 1.492 MB / 0.5349 GB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.5228, allocations: 9.969 kB / 0.5349 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.5229, allocations: 38.39 kB / 0.535 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.5232, allocations: 244.3 kB / 0.5352 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.5232, allocations: 23.02 kB / 0.5352 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.5233, allocations: 23.81 kB / 0.5353 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.524, allocations: 0.5158 MB / 0.5358 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.524, allocations: 0 / 0.5358 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.524, allocations: 12.5 kB / 0.5358 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.5241, allocations: 22.02 kB / 0.5358 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009273/0.525, allocations: 0.9226 MB / 0.5367 GB, free: 8.207 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.001607/0.5266, allocations: 1.904 MB / 0.5386 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006591/0.5273, allocations: 264.1 kB / 0.5388 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.5275, allocations: 106.6 kB / 0.5389 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01715/0.5446, allocations: 15.75 MB / 0.5543 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/0.5451, allocations: 248.9 kB / 0.5545 GB, free: 4.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 4.148e-06/0.5451, allocations: 0.5625 kB / 0.5545 GB, free: 4.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002465/0.5476, allocations: 0.7749 MB / 0.5553 GB, free: 3.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.5477, allocations: 266.5 kB / 0.5555 GB, free: 3.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.548, allocations: 204 kB / 0.5557 GB, free: 2.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.548, allocations: 31.27 kB / 0.5558 GB, free: 2.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.5481, allocations: 202.4 kB / 0.556 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.5482, allocations: 124.5 kB / 0.5561 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.5483, allocations: 50.2 kB / 0.5561 GB, free: 2.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5484, allocations: 335.7 kB / 0.5564 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.5486, allocations: 94.3 kB / 0.5565 GB, free: 2.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.5491, allocations: 364.1 kB / 0.5569 GB, free: 1.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.5498, allocations: 0.5028 MB / 0.5574 GB, free: 1.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5498, allocations: 4 kB / 0.5574 GB, free: 1.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001218/0.551, allocations: 0.5032 MB / 0.5579 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5511, allocations: 8 kB / 0.5579 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.5511, allocations: 12 kB / 0.5579 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.5511, allocations: 12 kB / 0.5579 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.5517, allocations: 183 kB / 0.5581 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006715/0.5524, allocations: 1.198 MB / 0.5592 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.5527, allocations: 32.14 kB / 0.5593 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/0.5528, allocations: 43.92 kB / 0.5593 GB, free: 15.39 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.0001883/0.553, allocations: 177.1 kB / 0.5595 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.5532, allocations: 33.59 kB / 0.5595 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.5542, allocations: 482.3 kB / 0.56 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5543, allocations: 8.031 kB / 0.56 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5543, allocations: 1.75 kB / 0.56 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.5543, allocations: 0 / 0.56 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.5552, allocations: 0.6064 MB / 0.5606 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.5553, allocations: 0 / 0.5606 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.5556, allocations: 83.2 kB / 0.5607 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.5557, allocations: 8.125 kB / 0.5607 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.5557, allocations: 8 kB / 0.5607 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005715/0.5563, allocations: 1.17 MB / 0.5618 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.5563, allocations: 8.094 kB / 0.5618 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.5569, allocations: 321.7 kB / 0.5621 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.557, allocations: 120.3 kB / 0.5622 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.557, allocations: 8 kB / 0.5623 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.5573, allocations: 23.73 kB / 0.5623 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.5574, allocations: 23.91 kB / 0.5623 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.5574, allocations: 12 kB / 0.5623 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.5575, allocations: 168.5 kB / 0.5625 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5576, allocations: 1.969 kB / 0.5625 GB, free: 12.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004824/0.5624, allocations: 1.686 MB / 0.5641 GB, free: 10.39 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.00881/0.5712, allocations: 2.309 MB / 0.5664 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.5724, allocations: 327.8 kB / 0.5667 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.5725, allocations: 1.75 kB / 0.5667 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.5729, allocations: 122.3 kB / 0.5668 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/0.5738, allocations: 113.4 kB / 0.5669 GB, free: 7.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2202/0.794, allocations: 140.6 MB / 0.7042 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.7944, allocations: 0.7514 MB / 0.7049 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.7947, allocations: 67.41 kB / 0.705 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.7947, allocations: 0 / 0.705 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of Templates: time 0.2736/1.068, allocations: 35.54 MB / 0.7397 GB, free: 186.2 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches