Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001543/0.001543, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002202/0.002202, allocations: 202.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.1 MB / 222.6 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4088/0.4088, allocations: 43.5 MB / 313.5 MB, free: 8.535 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 71.89 kB / 382 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1724, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01452/0.187, allocations: 11.47 MB / 451.3 MB, free: 3.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3537/0.5407, allocations: 14.6 MB / 465.9 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.541, allocations: 2.906 kB / 465.9 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.5416, allocations: 62.12 kB / 466 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.5538, allocations: 2.64 MB / 468.6 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.5543, allocations: 144.2 kB / 468.7 MB, free: 34.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00643/0.5607, allocations: 4.142 MB / 472.9 MB, free: 34.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.5608, allocations: 13.56 kB / 472.9 MB, free: 34.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.561, allocations: 147.3 kB / 473 MB, free: 34.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01076/0.5718, allocations: 7.561 MB / 480.6 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.5718, allocations: 6.625 kB / 480.6 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007081/0.5789, allocations: 2.356 MB / 483 MB, free: 32.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.5791, allocations: 45.91 kB / 483 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.5793, allocations: 125.2 kB / 483.1 MB, free: 32.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004976/0.5843, allocations: 1.716 MB / 484.8 MB, free: 31.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5843, allocations: 1.188 kB / 484.8 MB, free: 31.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5843, allocations: 0 / 484.8 MB, free: 31.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.5843, allocations: 0 / 484.8 MB, free: 31.68 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.002348/0.5867, allocations: 0.9641 MB / 485.8 MB, free: 31.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.5867, allocations: 8.344 kB / 485.8 MB, free: 31.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006082/0.5873, allocations: 79.48 kB / 485.9 MB, free: 31.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.5877, allocations: 248.1 kB / 486.1 MB, free: 30.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.5877, allocations: 19.59 kB / 486.2 MB, free: 30.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.5877, allocations: 24.91 kB / 486.2 MB, free: 30.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.5888, allocations: 491.1 kB / 486.7 MB, free: 30.53 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5889, allocations: 1.188 kB / 486.7 MB, free: 30.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.5889, allocations: 16.61 kB / 486.7 MB, free: 30.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.5889, allocations: 6.688 kB / 486.7 MB, free: 30.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.5902, allocations: 0.6842 MB / 487.4 MB, free: 30.36 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.006934/0.5972, allocations: 3.13 MB / 490.5 MB, free: 28.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.5978, allocations: 221.3 kB / 490.7 MB, free: 28.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.598, allocations: 74.05 kB / 490.8 MB, free: 28.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0843/0.6823, allocations: 33.65 MB / 0.5121 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008612/0.6832, allocations: 342.8 kB / 0.5125 GB, free: 4.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/0.6833, allocations: 4 kB / 0.5125 GB, free: 4.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002687/0.6859, allocations: 0.8603 MB / 0.5133 GB, free: 3.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.6861, allocations: 478.6 kB / 0.5138 GB, free: 3.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.6863, allocations: 156.3 kB / 0.5139 GB, free: 2.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.6863, allocations: 29.7 kB / 0.5139 GB, free: 2.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.6864, allocations: 163.9 kB / 0.5141 GB, free: 2.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.6865, allocations: 130.5 kB / 0.5142 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.6866, allocations: 90.16 kB / 0.5143 GB, free: 2.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6867, allocations: 330.8 kB / 0.5146 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.6869, allocations: 69.08 kB / 0.5147 GB, free: 2.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.6871, allocations: 309.3 kB / 0.515 GB, free: 1.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.6876, allocations: 450.7 kB / 0.5154 GB, free: 1.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6876, allocations: 0 / 0.5154 GB, free: 1.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005867/0.6882, allocations: 398.2 kB / 0.5158 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.6882, allocations: 15.94 kB / 0.5158 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.6883, allocations: 9.312 kB / 0.5158 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/0.6883, allocations: 12.81 kB / 0.5158 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.6901, allocations: 342.2 kB / 0.5162 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009451/0.6911, allocations: 1.188 MB / 0.5173 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.6914, allocations: 23.94 kB / 0.5173 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.6915, allocations: 31.98 kB / 0.5174 GB, free: 15 MB / 398.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.0002224/0.6917, allocations: 165.8 kB / 0.5175 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.6918, allocations: 27.72 kB / 0.5176 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.6933, allocations: 0.954 MB / 0.5185 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.6933, allocations: 8.203 kB / 0.5185 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.6933, allocations: 11.12 kB / 0.5185 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.6934, allocations: 4 kB / 0.5185 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.6951, allocations: 1.425 MB / 0.5199 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6951, allocations: 4 kB / 0.5199 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.6962, allocations: 147.9 kB / 0.5201 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.6962, allocations: 4 kB / 0.5201 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.6962, allocations: 11.98 kB / 0.5201 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004019/0.6967, allocations: 0.586 MB / 0.5206 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.6967, allocations: 7.969 kB / 0.5206 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.6974, allocations: 0.5071 MB / 0.5211 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-05/0.6975, allocations: 112.8 kB / 0.5213 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.6976, allocations: 47.38 kB / 0.5213 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.6978, allocations: 19.98 kB / 0.5213 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.6979, allocations: 11.98 kB / 0.5213 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.6979, allocations: 19.98 kB / 0.5213 GB, free: 10.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000321/0.6983, allocations: 271.1 kB / 0.5216 GB, free: 10.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6983, allocations: 0 / 0.5216 GB, free: 10.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002398/0.7007, allocations: 459.6 kB / 0.522 GB, free: 9.977 MB / 398.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.001892/0.7026, allocations: 0.6955 MB / 0.5227 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.7042, allocations: 396.5 kB / 0.5231 GB, free: 8.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7042, allocations: 0 / 0.5231 GB, free: 8.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.705, allocations: 232.1 kB / 0.5233 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/0.7058, allocations: 124.2 kB / 0.5234 GB, free: 8.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.432/2.138, allocations: 0.5371 GB / 1.061 GB, free: 111.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/2.138, allocations: 0.8294 MB / 1.061 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000504/2.139, allocations: 159.1 kB / 1.061 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/2.139, allocations: 36 kB / 1.062 GB, free: 111.1 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/2.139, allocations: 0 / 1.062 GB, free: 111.1 MB / 494.1 MB Notification: Performance of Templates: time 0.019/2.158, allocations: 15.5 MB / 1.077 GB, free: 96.46 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches