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.001509/0.001509, allocations: 106.3 kB / 17.2 MB, free: 6.289 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.001649/0.001649, allocations: 194 kB / 18.12 MB, free: 5.383 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.45/1.45, allocations: 222.9 MB / 241.8 MB, free: 15.47 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.2162/0.2162, allocations: 44.19 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 66.22 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1521, allocations: 60.82 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03667/0.1888, allocations: 28.82 MB / 497.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01549/0.2043, allocations: 11.7 MB / 0.4971 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.2045, allocations: 4 kB / 0.4971 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.205, allocations: 67.62 kB / 0.4972 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3307/0.5357, allocations: 7.601 MB / 0.5046 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.537, allocations: 397.6 kB / 0.505 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.5383, allocations: 0.6817 MB / 0.5057 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.737e-05/0.5383, allocations: 13.95 kB / 0.5057 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.5387, allocations: 182.8 kB / 0.5058 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01348/0.5522, allocations: 6.301 MB / 0.512 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.5524, allocations: 9.062 kB / 0.512 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02802/0.5804, allocations: 13.74 MB / 0.5254 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.5806, allocations: 87.44 kB / 0.5255 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.5809, allocations: 136.5 kB / 0.5256 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02404/0.605, allocations: 6.959 MB / 0.5324 GB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.605, allocations: 4 kB / 0.5324 GB, free: 9.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.605, allocations: 2.312 kB / 0.5324 GB, free: 9.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.6051, allocations: 0 / 0.5324 GB, free: 9.766 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.005822/0.6109, allocations: 1.55 MB / 0.534 GB, free: 8.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.611, allocations: 8.969 kB / 0.534 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.6112, allocations: 38.89 kB / 0.534 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.6114, allocations: 244.1 kB / 0.5342 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.6114, allocations: 20.66 kB / 0.5343 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.6115, allocations: 27.31 kB / 0.5343 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007827/0.6123, allocations: 0.5146 MB / 0.5348 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6123, allocations: 2.875 kB / 0.5348 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.6123, allocations: 10.84 kB / 0.5348 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.6124, allocations: 26.23 kB / 0.5348 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009792/0.6134, allocations: 0.9161 MB / 0.5357 GB, free: 8.105 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.001789/0.6152, allocations: 1.911 MB / 0.5376 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.6159, allocations: 266.1 kB / 0.5378 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.6161, allocations: 101.5 kB / 0.5379 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01981/0.6359, allocations: 15.68 MB / 0.5532 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005973/0.6365, allocations: 244.6 kB / 0.5535 GB, free: 3.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 3.587e-06/0.6366, allocations: 0 / 0.5535 GB, free: 3.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002433/0.639, allocations: 0.793 MB / 0.5543 GB, free: 2.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.6392, allocations: 272.1 kB / 0.5545 GB, free: 1.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.6394, allocations: 195.8 kB / 0.5547 GB, free: 1.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.6394, allocations: 37.7 kB / 0.5547 GB, free: 1.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.6396, allocations: 199.8 kB / 0.5549 GB, free: 1.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/0.6397, allocations: 121 kB / 0.555 GB, free: 1.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.6398, allocations: 122 kB / 0.5552 GB, free: 1.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.64, allocations: 338.8 kB / 0.5555 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.6402, allocations: 90.38 kB / 0.5556 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.6406, allocations: 382.9 kB / 0.5559 GB, free: 384 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.6414, allocations: 0.5063 MB / 0.5564 GB, free: 15.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6414, allocations: 4 kB / 0.5564 GB, free: 15.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001191/0.6426, allocations: 0.4958 MB / 0.5569 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.6427, allocations: 12.06 kB / 0.5569 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.6427, allocations: 12 kB / 0.5569 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.6427, allocations: 12 kB / 0.5569 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.6433, allocations: 173.7 kB / 0.5571 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006953/0.644, allocations: 1.189 MB / 0.5583 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.6443, allocations: 25.5 kB / 0.5583 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.6444, allocations: 51.97 kB / 0.5583 GB, free: 13.83 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.0001967/0.6446, allocations: 169.2 kB / 0.5585 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.6448, allocations: 35.7 kB / 0.5585 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.6459, allocations: 490.2 kB / 0.559 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.6459, allocations: 0 / 0.559 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.6459, allocations: 4 kB / 0.559 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6459, allocations: 0 / 0.559 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/0.6469, allocations: 0.6002 MB / 0.5596 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6469, allocations: 4 kB / 0.5596 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.6473, allocations: 93.97 kB / 0.5597 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6473, allocations: 0 / 0.5597 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.6473, allocations: 11.98 kB / 0.5597 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006096/0.6479, allocations: 1.175 MB / 0.5609 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.648, allocations: 0 / 0.5609 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.6485, allocations: 335.1 kB / 0.5612 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.6486, allocations: 104.6 kB / 0.5613 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.6487, allocations: 11.98 kB / 0.5613 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.6489, allocations: 14.53 kB / 0.5613 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.649, allocations: 23.91 kB / 0.5613 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.649, allocations: 19.98 kB / 0.5613 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.6492, allocations: 164.5 kB / 0.5615 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6492, allocations: 0 / 0.5615 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.007222/0.6564, allocations: 1.681 MB / 0.5631 GB, free: 8.805 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.009557/0.666, allocations: 2.316 MB / 0.5654 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.6671, allocations: 329.5 kB / 0.5657 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.6671, allocations: 4 kB / 0.5657 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.6676, allocations: 117.6 kB / 0.5658 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.6683, allocations: 116.1 kB / 0.5659 GB, free: 6.191 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2134/0.8817, allocations: 141 MB / 0.7036 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.8821, allocations: 0.7573 MB / 0.7044 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006944/0.8828, allocations: 143.7 kB / 0.7045 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.883, allocations: 55.41 kB / 0.7045 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/0.8831, allocations: 0 / 0.7045 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of Templates: time 0.353/1.236, allocations: 46.71 MB / 0.7502 GB, free: 173.6 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins/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