Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,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_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001251/0.001252, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.329/1.329, allocations: 222.9 MB / 242.2 MB, free: 15.22 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.205/0.205, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 69.98 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1233, allocations: 60.82 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01193/0.1353, allocations: 11.23 MB / 480.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.1473, allocations: 11.78 MB / 492.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1475, allocations: 0 / 492.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.1479, allocations: 71.55 kB / 492.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009769/0.1577, allocations: 3.113 MB / 495.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.1582, allocations: 153.1 kB / 495.6 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005189/0.1634, allocations: 3.901 MB / 499.5 MB, free: 36 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.757e-05/0.1634, allocations: 16.41 kB / 499.5 MB, free: 20 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.1637, allocations: 135.5 kB / 499.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008514/0.1722, allocations: 7.126 MB / 0.4949 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.1723, allocations: 12 kB / 0.4949 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005284/0.1776, allocations: 2.076 MB / 0.4969 GB, free: 6.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1777, allocations: 51.7 kB / 0.497 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.1779, allocations: 123.4 kB / 0.4971 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004273/0.1822, allocations: 1.532 MB / 0.4986 GB, free: 4.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1822, allocations: 0 / 0.4986 GB, free: 4.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1823, allocations: 0 / 0.4986 GB, free: 4.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1823, allocations: 7.938 kB / 0.4986 GB, free: 4.949 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.002324/0.1846, allocations: 0.9166 MB / 0.4995 GB, free: 3.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1846, allocations: 12.03 kB / 0.4995 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.1853, allocations: 80.59 kB / 0.4996 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1856, allocations: 251.9 kB / 0.4998 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1856, allocations: 16.94 kB / 0.4998 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.1856, allocations: 28.38 kB / 0.4999 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009351/0.1866, allocations: 489.5 kB / 0.5003 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1866, allocations: 0 / 0.5003 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.1866, allocations: 12 kB / 0.5004 GB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1867, allocations: 8 kB / 0.5004 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1877, allocations: 0.6773 MB / 0.501 GB, free: 2.355 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.2183/0.406, allocations: 3.099 MB / 0.504 GB, free: 50.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.4069, allocations: 219.8 kB / 0.5043 GB, free: 50.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.407, allocations: 77.77 kB / 0.5043 GB, free: 50.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07439/0.4814, allocations: 30.75 MB / 0.5344 GB, free: 31.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007787/0.4822, allocations: 348.8 kB / 0.5347 GB, free: 30.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.977e-06/0.4823, allocations: 0 / 0.5347 GB, free: 30.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003068/0.4853, allocations: 0.9684 MB / 0.5356 GB, free: 29.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.4855, allocations: 480.9 kB / 0.5361 GB, free: 29.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.4856, allocations: 164 kB / 0.5363 GB, free: 29.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.4857, allocations: 37.64 kB / 0.5363 GB, free: 28.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.4857, allocations: 159.6 kB / 0.5364 GB, free: 28.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/0.4858, allocations: 130 kB / 0.5366 GB, free: 28.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.4859, allocations: 98.14 kB / 0.5367 GB, free: 28.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.486, allocations: 330.8 kB / 0.537 GB, free: 28.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.4861, allocations: 73.08 kB / 0.537 GB, free: 28.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.4863, allocations: 326.1 kB / 0.5374 GB, free: 27.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.4867, allocations: 445.4 kB / 0.5378 GB, free: 27.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.4867, allocations: 7.938 kB / 0.5378 GB, free: 27.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006428/0.4874, allocations: 438.8 kB / 0.5382 GB, free: 26.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4874, allocations: 8 kB / 0.5382 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4874, allocations: 8 kB / 0.5382 GB, free: 26.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.4893, allocations: 325.8 kB / 0.5385 GB, free: 26.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.4896, allocations: 109.6 kB / 0.5386 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005222/0.4901, allocations: 1.219 MB / 0.5398 GB, free: 25.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.4903, allocations: 16 kB / 0.5398 GB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.4904, allocations: 31.98 kB / 0.5399 GB, free: 25 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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.4906, allocations: 161.8 kB / 0.54 GB, free: 24.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.4906, allocations: 43.58 kB / 0.5401 GB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.4918, allocations: 1.046 MB / 0.5411 GB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4918, allocations: 8 kB / 0.5411 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4918, allocations: 4 kB / 0.5411 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4919, allocations: 3.984 kB / 0.5411 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.4931, allocations: 1.561 MB / 0.5426 GB, free: 22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4931, allocations: 0 / 0.5426 GB, free: 22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.4933, allocations: 47.91 kB / 0.5427 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.4944, allocations: 235.3 kB / 0.5429 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.4944, allocations: 12.08 kB / 0.5429 GB, free: 21.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003895/0.4948, allocations: 1.273 MB / 0.5442 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4948, allocations: 4 kB / 0.5442 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.4953, allocations: 0.6025 MB / 0.5447 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.4954, allocations: 104.8 kB / 0.5448 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.4955, allocations: 43.53 kB / 0.5449 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.4957, allocations: 8 kB / 0.5449 GB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.4958, allocations: 31.84 kB / 0.5449 GB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.4958, allocations: 15.98 kB / 0.5449 GB, free: 19.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.496, allocations: 275.1 kB / 0.5452 GB, free: 19.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.496, allocations: 0 / 0.5452 GB, free: 19.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00135/0.4974, allocations: 442.6 kB / 0.5456 GB, free: 18.81 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001543/0.4989, allocations: 0.6591 MB / 0.5463 GB, free: 18.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.4995, allocations: 380.4 kB / 0.5466 GB, free: 17.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4995, allocations: 4.312 kB / 0.5466 GB, free: 17.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.4998, allocations: 237.9 kB / 0.5469 GB, free: 17.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000747/0.5005, allocations: 118.4 kB / 0.547 GB, free: 17.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.087/1.587, allocations: 0.4918 GB / 1.039 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/1.588, allocations: 0.8273 MB / 1.04 GB, free: 23.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004772/1.588, allocations: 163.1 kB / 1.04 GB, free: 23.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/1.588, allocations: 39.42 kB / 1.04 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/1.588, allocations: 0 / 1.04 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.01879/1.607, allocations: 15.55 MB / 1.055 GB, free: 7.777 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches