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.0009708/0.0009706, allocations: 95.91 kB / 17 MB, free: 6.398 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.001093/0.001092, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.417/1.417, allocations: 223.3 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003474, allocations: 8 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1503, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01124/0.1616, allocations: 10.18 MB / 481.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.1735, allocations: 10.79 MB / 492.6 MB, free: 8.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.1737, allocations: 0 / 492.6 MB, free: 8.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1741, allocations: 55.69 kB / 492.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008348/0.1824, allocations: 2.441 MB / 495.1 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.1829, allocations: 145.9 kB / 495.2 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.1929, allocations: 7.412 MB / 0.4908 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.773e-05/0.193, allocations: 16.39 kB / 0.4909 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.1932, allocations: 135.5 kB / 0.491 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01874/0.212, allocations: 14.16 MB / 0.5048 GB, free: 256 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.2121, allocations: 8 kB / 0.5048 GB, free: 248 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2887/0.5008, allocations: 1.933 MB / 0.5067 GB, free: 34.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.5011, allocations: 39.66 kB / 0.5068 GB, free: 34.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.5014, allocations: 70.61 kB / 0.5068 GB, free: 34.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004597/0.506, allocations: 1.027 MB / 0.5078 GB, free: 33.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.506, allocations: 6.938 kB / 0.5078 GB, free: 33.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.506, allocations: 1.281 kB / 0.5078 GB, free: 33.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.506, allocations: 0 / 0.5078 GB, free: 33.98 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.003894/0.5099, allocations: 0.8613 MB / 0.5087 GB, free: 33.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.51, allocations: 8.531 kB / 0.5087 GB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000897/0.5109, allocations: 83.23 kB / 0.5088 GB, free: 33.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.5113, allocations: 244.8 kB / 0.509 GB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.5114, allocations: 20 kB / 0.509 GB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.5115, allocations: 30.52 kB / 0.509 GB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.5131, allocations: 484.5 kB / 0.5095 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.5132, allocations: 1 kB / 0.5095 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.505e-05/0.5132, allocations: 12.75 kB / 0.5095 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.5133, allocations: 8.172 kB / 0.5095 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001864/0.5151, allocations: 0.6776 MB / 0.5102 GB, free: 33.09 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.009415/0.5246, allocations: 3.083 MB / 0.5132 GB, free: 31.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.5257, allocations: 213.4 kB / 0.5134 GB, free: 31.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.5259, allocations: 77.22 kB / 0.5135 GB, free: 31.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07426/0.6002, allocations: 30.61 MB / 0.5434 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000744/0.6009, allocations: 348.4 kB / 0.5437 GB, free: 9.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.456e-06/0.601, allocations: 0 / 0.5437 GB, free: 9.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003277/0.6042, allocations: 0.9681 MB / 0.5446 GB, free: 9.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.6044, allocations: 482.6 kB / 0.5451 GB, free: 8.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.6046, allocations: 156.3 kB / 0.5453 GB, free: 8.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.6046, allocations: 36.2 kB / 0.5453 GB, free: 8.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.6047, allocations: 159.8 kB / 0.5454 GB, free: 8.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/0.6048, allocations: 127.7 kB / 0.5456 GB, free: 8.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.6048, allocations: 11.31 kB / 0.5456 GB, free: 8.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.6049, allocations: 329.3 kB / 0.5459 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.605, allocations: 71.45 kB / 0.546 GB, free: 7.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.6053, allocations: 315.8 kB / 0.5463 GB, free: 7.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.6055, allocations: 121.8 kB / 0.5464 GB, free: 7.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6055, allocations: 0 / 0.5464 GB, free: 7.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006978/0.6062, allocations: 449.4 kB / 0.5468 GB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.6062, allocations: 8 kB / 0.5468 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.6062, allocations: 12 kB / 0.5468 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.608, allocations: 308.8 kB / 0.5471 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.6083, allocations: 102.8 kB / 0.5472 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005048/0.6088, allocations: 1.211 MB / 0.5484 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.6091, allocations: 27.28 kB / 0.5484 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.514e-05/0.6092, allocations: 32.12 kB / 0.5485 GB, free: 5.309 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.6094, allocations: 165 kB / 0.5486 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.6094, allocations: 27.72 kB / 0.5486 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.6108, allocations: 1.073 MB / 0.5497 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.6108, allocations: 7.984 kB / 0.5497 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.6109, allocations: 10.84 kB / 0.5497 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.6109, allocations: 0 / 0.5497 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.6124, allocations: 1.553 MB / 0.5512 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6124, allocations: 0 / 0.5512 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.6125, allocations: 42.17 kB / 0.5513 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.6136, allocations: 258.4 kB / 0.5515 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.6136, allocations: 9.5 kB / 0.5515 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004234/0.6141, allocations: 1.254 MB / 0.5527 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6141, allocations: 6.906 kB / 0.5527 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.6147, allocations: 0.6105 MB / 0.5533 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.6149, allocations: 209.9 kB / 0.5535 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.615, allocations: 11.11 kB / 0.5536 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.6152, allocations: 18.81 kB / 0.5536 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.6153, allocations: 30.52 kB / 0.5536 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.6153, allocations: 14.56 kB / 0.5536 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.6156, allocations: 269.5 kB / 0.5539 GB, free: 496 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6156, allocations: 0 / 0.5539 GB, free: 496 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.00211/0.6177, allocations: 452.7 kB / 0.5543 GB, free: 84 kB / 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002783/0.6205, allocations: 0.6432 MB / 0.5549 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006286/0.6211, allocations: 357.4 kB / 0.5553 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.6211, allocations: 0 / 0.5553 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.6214, allocations: 233.2 kB / 0.5555 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.6222, allocations: 106.3 kB / 0.5556 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.171/1.793, allocations: 0.4901 GB / 1.046 GB, free: 45.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/1.793, allocations: 0.8273 MB / 1.047 GB, free: 44.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004645/1.794, allocations: 153.8 kB / 1.047 GB, free: 44.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/1.794, allocations: 43.42 kB / 1.047 GB, free: 44.75 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/1.794, allocations: 0 / 1.047 GB, free: 44.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.01837/1.812, allocations: 14.57 MB / 1.061 GB, free: 30.27 MB / 0.5137 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