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.00134/0.00134, allocations: 111.3 kB / 18.45 MB, free: 4.645 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.001235/0.001235, allocations: 186.2 kB / 19.38 MB, free: 3.723 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.347/1.347, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1956/0.1956, allocations: 44.18 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3865, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01343/0.4, allocations: 11.23 MB / 0.5306 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.413, allocations: 11.79 MB / 0.5421 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.4133, allocations: 1.188 kB / 0.5421 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.4137, allocations: 66.3 kB / 0.5422 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01407/0.4277, allocations: 3.118 MB / 0.5452 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.4283, allocations: 146.6 kB / 0.5453 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006497/0.4348, allocations: 3.908 MB / 0.5492 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.837e-05/0.4349, allocations: 14.56 kB / 0.5492 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.4351, allocations: 135.5 kB / 0.5493 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009165/0.4443, allocations: 7.134 MB / 0.5563 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.4444, allocations: 8 kB / 0.5563 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007591/0.452, allocations: 2.396 MB / 0.5586 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.4521, allocations: 39.77 kB / 0.5587 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.4523, allocations: 127.5 kB / 0.5588 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004303/0.4566, allocations: 1.712 MB / 0.5604 GB, free: 2.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4567, allocations: 4 kB / 0.5605 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4567, allocations: 3.938 kB / 0.5605 GB, free: 2.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.4567, allocations: 0 / 0.5605 GB, free: 2.117 MB / 414.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.002103/0.4588, allocations: 0.9633 MB / 0.5614 GB, free: 1.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4588, allocations: 8.031 kB / 0.5614 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005793/0.4594, allocations: 80.59 kB / 0.5615 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.4598, allocations: 236.1 kB / 0.5617 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.4598, allocations: 24.88 kB / 0.5617 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.4599, allocations: 24.38 kB / 0.5618 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.4608, allocations: 493.5 kB / 0.5622 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4608, allocations: 0 / 0.5622 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.4609, allocations: 12 kB / 0.5622 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4609, allocations: 8 kB / 0.5622 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.4619, allocations: 0.689 MB / 0.5629 GB, free: 15.48 MB / 430.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.006304/0.4682, allocations: 3.132 MB / 0.566 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.4689, allocations: 211.4 kB / 0.5662 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.469, allocations: 73.39 kB / 0.5662 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.081/0.55, allocations: 33.64 MB / 0.5991 GB, free: 7.352 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007957/0.5508, allocations: 345.9 kB / 0.5994 GB, free: 6.949 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.968e-06/0.5508, allocations: 4 kB / 0.5994 GB, free: 6.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002602/0.5535, allocations: 0.855 MB / 0.6003 GB, free: 6.082 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002005/0.5537, allocations: 482.5 kB / 0.6007 GB, free: 5.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.5538, allocations: 164.5 kB / 0.6009 GB, free: 5.332 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.5539, allocations: 33.7 kB / 0.6009 GB, free: 5.293 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.554, allocations: 156 kB / 0.6011 GB, free: 5.137 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.5541, allocations: 126.2 kB / 0.6012 GB, free: 5.012 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.5542, allocations: 94.16 kB / 0.6013 GB, free: 4.914 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5543, allocations: 330.8 kB / 0.6016 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.5544, allocations: 61.09 kB / 0.6017 GB, free: 4.523 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.5547, allocations: 314.1 kB / 0.6019 GB, free: 4.098 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.5552, allocations: 440 kB / 0.6024 GB, free: 3.551 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.5552, allocations: 4 kB / 0.6024 GB, free: 3.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006315/0.5559, allocations: 409.2 kB / 0.6028 GB, free: 3.141 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.5559, allocations: 12.22 kB / 0.6028 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5559, allocations: 8 kB / 0.6028 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.5559, allocations: 12 kB / 0.6028 GB, free: 3.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.5578, allocations: 339.5 kB / 0.6031 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005971/0.5584, allocations: 1.18 MB / 0.6043 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.5587, allocations: 23.97 kB / 0.6043 GB, free: 1.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.5587, allocations: 31.98 kB / 0.6043 GB, free: 1.496 MB / 462.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.0001639/0.5589, allocations: 161.6 kB / 0.6045 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.559, allocations: 27.8 kB / 0.6045 GB, free: 1.301 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.5601, allocations: 0.9376 MB / 0.6054 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.5602, allocations: 19.92 kB / 0.6054 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5602, allocations: 4 kB / 0.6054 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.5602, allocations: 4 kB / 0.6054 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.5616, allocations: 1.426 MB / 0.6068 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.5616, allocations: 4 kB / 0.6068 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.5626, allocations: 147.9 kB / 0.607 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.5627, allocations: 4 kB / 0.607 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.5627, allocations: 8 kB / 0.607 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003438/0.563, allocations: 0.5898 MB / 0.6076 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5631, allocations: 0 / 0.6076 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.5638, allocations: 0.5228 MB / 0.6081 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.5639, allocations: 112.7 kB / 0.6082 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.564, allocations: 43.38 kB / 0.6082 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.5642, allocations: 15.98 kB / 0.6082 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.5643, allocations: 23.97 kB / 0.6083 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.5643, allocations: 16 kB / 0.6083 GB, free: 13.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003308/0.5647, allocations: 279.1 kB / 0.6085 GB, free: 12.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5647, allocations: 0 / 0.6085 GB, free: 12.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002009/0.5667, allocations: 463.6 kB / 0.609 GB, free: 12.44 MB / 478.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.00164/0.5683, allocations: 0.6859 MB / 0.6097 GB, free: 11.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.57, allocations: 406.6 kB / 0.61 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.57, allocations: 0 / 0.61 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007801/0.5708, allocations: 228.1 kB / 0.6103 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007813/0.5716, allocations: 114.4 kB / 0.6104 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.221/1.793, allocations: 0.5369 GB / 1.147 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/1.793, allocations: 0.8274 MB / 1.148 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.793, allocations: 47.42 kB / 1.148 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.793, allocations: 3.938 kB / 1.148 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.2885/2.082, allocations: 13.27 MB / 1.161 GB, free: 217.1 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/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