Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.ReferenceAir_pT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001212/0.001212, allocations: 192 kB / 18.56 MB, free: 4.434 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.314/1.314, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2068/0.2068, allocations: 44.2 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 68.41 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1319, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01194/0.1439, allocations: 11.24 MB / 480.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.155, allocations: 11.77 MB / 492.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1552, allocations: 0 / 492.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.1555, allocations: 75.48 kB / 492.3 MB, free: 7.188 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008587/0.1641, allocations: 3.113 MB / 495.5 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.1645, allocations: 147 kB / 495.6 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005008/0.1695, allocations: 3.901 MB / 499.5 MB, free: 12 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.1696, allocations: 12.41 kB / 499.5 MB, free: 0 / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.1698, allocations: 143.5 kB / 499.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008367/0.1782, allocations: 7.122 MB / 0.4949 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.1783, allocations: 8 kB / 0.4949 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006125/0.1844, allocations: 2.353 MB / 0.4972 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1845, allocations: 51.7 kB / 0.4973 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.1847, allocations: 127.4 kB / 0.4974 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006428/0.1912, allocations: 1.719 MB / 0.4991 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1912, allocations: 0 / 0.4991 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1912, allocations: 0 / 0.4991 GB, free: 4.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.1912, allocations: 0 / 0.4991 GB, free: 4.469 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002858/0.1941, allocations: 0.9634 MB / 0.5 GB, free: 3.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1941, allocations: 8.031 kB / 0.5 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006135/0.1948, allocations: 76.59 kB / 0.5001 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.1951, allocations: 255.9 kB / 0.5003 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1951, allocations: 20.94 kB / 0.5003 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.1951, allocations: 24.38 kB / 0.5004 GB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000941/0.1961, allocations: 485.6 kB / 0.5008 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1961, allocations: 4 kB / 0.5008 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.1961, allocations: 8 kB / 0.5008 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.1962, allocations: 8 kB / 0.5008 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1972, allocations: 0.6812 MB / 0.5015 GB, free: 1.832 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.2319/0.4292, allocations: 3.132 MB / 0.5046 GB, free: 49.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.4299, allocations: 213 kB / 0.5048 GB, free: 49.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.4301, allocations: 79.39 kB / 0.5048 GB, free: 49.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07574/0.5058, allocations: 33.63 MB / 0.5377 GB, free: 26.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000655/0.5065, allocations: 348.4 kB / 0.538 GB, free: 26.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 4.539e-06/0.5065, allocations: 0 / 0.538 GB, free: 26.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002426/0.509, allocations: 0.861 MB / 0.5389 GB, free: 25.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.5091, allocations: 474.6 kB / 0.5393 GB, free: 24.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.5092, allocations: 163.8 kB / 0.5395 GB, free: 24.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.5092, allocations: 33.7 kB / 0.5395 GB, free: 24.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.5093, allocations: 164.2 kB / 0.5397 GB, free: 24.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.5094, allocations: 130.1 kB / 0.5398 GB, free: 24.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.067e-05/0.5095, allocations: 86.23 kB / 0.5399 GB, free: 24.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.5096, allocations: 326.8 kB / 0.5402 GB, free: 24.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.5097, allocations: 69.08 kB / 0.5402 GB, free: 23.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.51, allocations: 314.1 kB / 0.5405 GB, free: 23.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.5104, allocations: 436.1 kB / 0.541 GB, free: 23.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.5105, allocations: 4 kB / 0.541 GB, free: 23.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006928/0.5112, allocations: 407.4 kB / 0.5414 GB, free: 22.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.5112, allocations: 9 kB / 0.5414 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.5112, allocations: 8 kB / 0.5414 GB, free: 22.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/0.5113, allocations: 19.94 kB / 0.5414 GB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.513, allocations: 345.8 kB / 0.5417 GB, free: 22.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004652/0.5135, allocations: 1.172 MB / 0.5429 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.5138, allocations: 29.16 kB / 0.5429 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.5138, allocations: 33.19 kB / 0.5429 GB, free: 20.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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.0001584/0.514, allocations: 161.5 kB / 0.5431 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.5141, allocations: 32.86 kB / 0.5431 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.5152, allocations: 0.9342 MB / 0.544 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.5152, allocations: 19.89 kB / 0.544 GB, free: 19.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5152, allocations: 4 kB / 0.544 GB, free: 19.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.5153, allocations: 4 kB / 0.544 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.5164, allocations: 1.421 MB / 0.5454 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5164, allocations: 5.781 kB / 0.5454 GB, free: 18.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009599/0.5173, allocations: 154.8 kB / 0.5456 GB, free: 18.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.5174, allocations: 4 kB / 0.5456 GB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.5174, allocations: 8 kB / 0.5456 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001598/0.5175, allocations: 0.586 MB / 0.5462 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5176, allocations: 7.969 kB / 0.5462 GB, free: 17.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.518, allocations: 0.5177 MB / 0.5467 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.5181, allocations: 104.8 kB / 0.5468 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.5182, allocations: 47.44 kB / 0.5468 GB, free: 16.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.5184, allocations: 15.98 kB / 0.5468 GB, free: 16.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.5185, allocations: 27.84 kB / 0.5469 GB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.5185, allocations: 12 kB / 0.5469 GB, free: 16.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.5187, allocations: 275.1 kB / 0.5471 GB, free: 16.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5187, allocations: 0 / 0.5471 GB, free: 16.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001181/0.5199, allocations: 462.4 kB / 0.5476 GB, free: 15.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/0.5213, allocations: 0.6923 MB / 0.5483 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.5227, allocations: 416.2 kB / 0.5487 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5227, allocations: 0 / 0.5487 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006911/0.5234, allocations: 231.3 kB / 0.5489 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.5242, allocations: 123 kB / 0.549 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.412/1.936, allocations: 0.5369 GB / 1.086 GB, free: 189 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/1.936, allocations: 0.8222 MB / 1.087 GB, free: 188.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005531/1.937, allocations: 172 kB / 1.087 GB, free: 188.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/1.937, allocations: 39.22 kB / 1.087 GB, free: 188.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.263e-06/1.937, allocations: 0 / 1.087 GB, free: 188.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.0236/1.961, allocations: 15.72 MB / 1.102 GB, free: 180.7 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches