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.001208/0.001208, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001224/0.001224, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.42/1.42, allocations: 222.9 MB / 242.9 MB, free: 15.23 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.2139/0.2139, allocations: 44.19 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001459, allocations: 69.05 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03681/0.1539, allocations: 27.03 MB / 497 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.1686, allocations: 11.03 MB / 0.4961 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.1689, allocations: 4 kB / 0.4961 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004673/0.1694, allocations: 79.48 kB / 0.4962 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2595/0.429, allocations: 9.216 MB / 0.5052 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4301, allocations: 422.3 kB / 0.5056 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.4308, allocations: 489.6 kB / 0.506 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.4309, allocations: 18.02 kB / 0.506 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.4312, allocations: 190.2 kB / 0.5062 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01071/0.4419, allocations: 6.016 MB / 0.5121 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.4421, allocations: 13.69 kB / 0.5121 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02477/0.4669, allocations: 13.21 MB / 0.525 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.4671, allocations: 91.03 kB / 0.5251 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.4674, allocations: 145.4 kB / 0.5252 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0187/0.4861, allocations: 6.779 MB / 0.5319 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.4861, allocations: 0.9844 kB / 0.5319 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4862, allocations: 2.656 kB / 0.5319 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.4862, allocations: 0 / 0.5319 GB, free: 10.82 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.004518/0.4907, allocations: 1.552 MB / 0.5334 GB, free: 9.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4908, allocations: 10.12 kB / 0.5334 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.491, allocations: 32.75 kB / 0.5334 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.4912, allocations: 242.7 kB / 0.5337 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.4912, allocations: 20.34 kB / 0.5337 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.4913, allocations: 26.92 kB / 0.5337 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.492, allocations: 0.518 MB / 0.5342 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.492, allocations: 0 / 0.5342 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.492, allocations: 11.59 kB / 0.5342 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.4921, allocations: 20.83 kB / 0.5342 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009474/0.493, allocations: 0.9261 MB / 0.5351 GB, free: 8.793 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.001629/0.4947, allocations: 1.903 MB / 0.537 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.4954, allocations: 274.3 kB / 0.5373 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.4955, allocations: 102.5 kB / 0.5374 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01668/0.5122, allocations: 15.68 MB / 0.5527 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005379/0.5128, allocations: 247.8 kB / 0.5529 GB, free: 3.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.5128, allocations: 4 kB / 0.5529 GB, free: 3.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002319/0.5151, allocations: 0.77 MB / 0.5537 GB, free: 3.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.5152, allocations: 268.3 kB / 0.5539 GB, free: 2.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.5154, allocations: 207.8 kB / 0.5541 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.5155, allocations: 31.23 kB / 0.5542 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.5156, allocations: 199.6 kB / 0.5543 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/0.5157, allocations: 127.2 kB / 0.5545 GB, free: 2.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.5158, allocations: 118.1 kB / 0.5546 GB, free: 2.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.516, allocations: 338.8 kB / 0.5549 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.5161, allocations: 89.06 kB / 0.555 GB, free: 1.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.5166, allocations: 371.6 kB / 0.5553 GB, free: 1.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/0.5173, allocations: 0.5089 MB / 0.5558 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.5174, allocations: 4 kB / 0.5558 GB, free: 0.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00117/0.5185, allocations: 0.5042 MB / 0.5563 GB, free: 176 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.5186, allocations: 8 kB / 0.5563 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.5186, allocations: 12 kB / 0.5564 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.5186, allocations: 12.75 kB / 0.5564 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.5193, allocations: 179.4 kB / 0.5565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006238/0.5199, allocations: 1.191 MB / 0.5577 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.5202, allocations: 24 kB / 0.5577 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.5203, allocations: 47.98 kB / 0.5578 GB, free: 14.68 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.0001891/0.5205, allocations: 175 kB / 0.5579 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.5207, allocations: 35.52 kB / 0.558 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.5218, allocations: 486.9 kB / 0.5584 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5218, allocations: 4 kB / 0.5584 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5218, allocations: 0 / 0.5584 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5218, allocations: 0 / 0.5584 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.5227, allocations: 0.6056 MB / 0.559 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5228, allocations: 0 / 0.559 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.5232, allocations: 94.3 kB / 0.5591 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.5232, allocations: 5.125 kB / 0.5591 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.5232, allocations: 8 kB / 0.5591 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005357/0.5237, allocations: 1.167 MB / 0.5603 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5238, allocations: 12.23 kB / 0.5603 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.5243, allocations: 319.3 kB / 0.5606 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.5244, allocations: 96.91 kB / 0.5607 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.5245, allocations: 15.91 kB / 0.5607 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.5247, allocations: 8 kB / 0.5607 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.5248, allocations: 32.78 kB / 0.5607 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.5248, allocations: 17.55 kB / 0.5607 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.525, allocations: 164.5 kB / 0.5609 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.525, allocations: 0 / 0.5609 GB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005181/0.5302, allocations: 1.684 MB / 0.5626 GB, free: 9.645 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.008841/0.539, allocations: 2.334 MB / 0.5648 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.5404, allocations: 322.9 kB / 0.5651 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5405, allocations: 4 kB / 0.5651 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.541, allocations: 120.1 kB / 0.5653 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008521/0.5419, allocations: 115.9 kB / 0.5654 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2061/0.748, allocations: 140.9 MB / 0.703 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.7483, allocations: 0.7456 MB / 0.7037 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/0.7486, allocations: 71.39 kB / 0.7038 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of SimCode: time 6.41e-07/0.7486, allocations: 4 kB / 0.7038 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of Templates: time 0.2641/1.013, allocations: 35.55 MB / 0.7385 GB, free: 185.4 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