Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008891/0.0008891, allocations: 93.53 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001672/0.001672, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2465/0.2465, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1616, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01253/0.1742, allocations: 11.02 MB / 494.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.1878, allocations: 11.84 MB / 0.4941 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.1881, allocations: 0 / 0.4941 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.1885, allocations: 67.61 kB / 0.4941 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.2001, allocations: 2.637 MB / 0.4967 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.2006, allocations: 147.1 kB / 0.4969 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007139/0.2078, allocations: 4.141 MB / 0.5009 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.89e-05/0.2079, allocations: 20.41 kB / 0.5009 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.2082, allocations: 147.4 kB / 0.5011 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3357/0.5439, allocations: 7.545 MB / 0.5084 GB, free: 22.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.398e-05/0.544, allocations: 6.375 kB / 0.5084 GB, free: 22.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009102/0.5531, allocations: 2.366 MB / 0.5108 GB, free: 22.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.5534, allocations: 46.11 kB / 0.5108 GB, free: 22.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.5537, allocations: 149.7 kB / 0.5109 GB, free: 22.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00845/0.5622, allocations: 1.71 MB / 0.5126 GB, free: 22.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.5623, allocations: 6.719 kB / 0.5126 GB, free: 22.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5623, allocations: 1.031 kB / 0.5126 GB, free: 22.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.5623, allocations: 0 / 0.5126 GB, free: 22.13 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.003384/0.5657, allocations: 0.9046 MB / 0.5135 GB, free: 21.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.5657, allocations: 9.875 kB / 0.5135 GB, free: 21.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006668/0.5664, allocations: 79 kB / 0.5136 GB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.5668, allocations: 244.9 kB / 0.5138 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.5668, allocations: 18.69 kB / 0.5138 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.5669, allocations: 26.11 kB / 0.5139 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.568, allocations: 489.1 kB / 0.5143 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.568, allocations: 3.562 kB / 0.5143 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.5681, allocations: 11.69 kB / 0.5143 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5681, allocations: 6.875 kB / 0.5143 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.5696, allocations: 0.6804 MB / 0.515 GB, free: 21.22 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.00814/0.5778, allocations: 3.112 MB / 0.5181 GB, free: 19.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/0.5786, allocations: 220.9 kB / 0.5183 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.5788, allocations: 74.58 kB / 0.5183 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08167/0.6605, allocations: 33.49 MB / 0.551 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008686/0.6614, allocations: 334.3 kB / 0.5514 GB, free: 10.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 4.909e-06/0.6614, allocations: 6.906 kB / 0.5514 GB, free: 10.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002987/0.6644, allocations: 0.8679 MB / 0.5522 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002658/0.6647, allocations: 482.7 kB / 0.5527 GB, free: 9.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.6649, allocations: 156.2 kB / 0.5528 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.665, allocations: 32.77 kB / 0.5529 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.6651, allocations: 165.5 kB / 0.553 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.6652, allocations: 121.8 kB / 0.5531 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.6653, allocations: 40.27 kB / 0.5532 GB, free: 8.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6655, allocations: 332.8 kB / 0.5535 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.6656, allocations: 66.05 kB / 0.5535 GB, free: 8.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.6659, allocations: 317 kB / 0.5538 GB, free: 8.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.6665, allocations: 431.8 kB / 0.5543 GB, free: 7.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.6665, allocations: 4 kB / 0.5543 GB, free: 7.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007823/0.6673, allocations: 409.6 kB / 0.5547 GB, free: 7.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.6673, allocations: 11.94 kB / 0.5547 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.6674, allocations: 8 kB / 0.5547 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.6674, allocations: 12 kB / 0.5547 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.6691, allocations: 263.2 kB / 0.5549 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006397/0.6698, allocations: 1.182 MB / 0.5561 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.6701, allocations: 19.78 kB / 0.5561 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.6702, allocations: 39.67 kB / 0.5561 GB, free: 5.914 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.000188/0.6704, allocations: 156.3 kB / 0.5563 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.6704, allocations: 23.81 kB / 0.5563 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.6718, allocations: 0.9598 MB / 0.5573 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.6718, allocations: 11.92 kB / 0.5573 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.6719, allocations: 4 kB / 0.5573 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6719, allocations: 4.219 kB / 0.5573 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.6736, allocations: 1.426 MB / 0.5587 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.6737, allocations: 0.875 kB / 0.5587 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.6747, allocations: 143.5 kB / 0.5588 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.6748, allocations: 4 kB / 0.5588 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.6748, allocations: 19.92 kB / 0.5588 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003155/0.6751, allocations: 0.5893 MB / 0.5594 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.6751, allocations: 4 kB / 0.5594 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.6758, allocations: 0.5217 MB / 0.5599 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.6761, allocations: 216 kB / 0.5601 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.6762, allocations: 15.94 kB / 0.5601 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.6765, allocations: 19.98 kB / 0.5602 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.6766, allocations: 19.53 kB / 0.5602 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.6766, allocations: 16 kB / 0.5602 GB, free: 1.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000385/0.677, allocations: 281.1 kB / 0.5605 GB, free: 1.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.677, allocations: 0 / 0.5605 GB, free: 1.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002442/0.6795, allocations: 455.6 kB / 0.5609 GB, free: 1.18 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.003172/0.6826, allocations: 0.6883 MB / 0.5616 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.6845, allocations: 400.5 kB / 0.5619 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.6845, allocations: 0 / 0.5619 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009166/0.6854, allocations: 223.7 kB / 0.5622 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.6866, allocations: 125.9 kB / 0.5623 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.585/2.272, allocations: 0.5351 GB / 1.097 GB, free: 197.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/2.272, allocations: 0.8263 MB / 1.098 GB, free: 197 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006132/2.273, allocations: 167.7 kB / 1.098 GB, free: 197 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/2.273, allocations: 39.59 kB / 1.098 GB, free: 197 MB / 0.5294 GB Notification: Performance of SimCode: time 1.803e-06/2.273, allocations: 0 / 1.098 GB, free: 197 MB / 0.5294 GB Notification: Performance of Templates: time 0.02977/2.303, allocations: 15.45 MB / 1.113 GB, free: 191.4 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches