Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001418, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 71.88 kB / 481.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4779, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01607/0.494, allocations: 11.29 MB / 0.5421 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.5092, allocations: 11.78 MB / 0.5536 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.5095, allocations: 0 / 0.5536 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.51, allocations: 71.5 kB / 0.5536 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01474/0.5248, allocations: 3.118 MB / 0.5567 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.5254, allocations: 153.3 kB / 0.5568 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007062/0.5325, allocations: 3.901 MB / 0.5606 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.5326, allocations: 20.41 kB / 0.5607 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.5329, allocations: 135.5 kB / 0.5608 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/0.5431, allocations: 7.126 MB / 0.5678 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.721e-05/0.5432, allocations: 8 kB / 0.5678 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007729/0.551, allocations: 2.111 MB / 0.5698 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.5512, allocations: 47.77 kB / 0.5699 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.5515, allocations: 127.4 kB / 0.57 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007719/0.5592, allocations: 1.532 MB / 0.5715 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.5592, allocations: 0 / 0.5715 GB, free: 8.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5592, allocations: 0 / 0.5715 GB, free: 8.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.5593, allocations: 4 kB / 0.5715 GB, free: 8.199 MB / 430.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.002974/0.5622, allocations: 0.9166 MB / 0.5724 GB, free: 7.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.5623, allocations: 8.031 kB / 0.5724 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007369/0.5631, allocations: 84.59 kB / 0.5725 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.5636, allocations: 251.9 kB / 0.5727 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.5636, allocations: 20.94 kB / 0.5727 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.5637, allocations: 28.31 kB / 0.5728 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.5648, allocations: 493.6 kB / 0.5732 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5648, allocations: 0 / 0.5732 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.5649, allocations: 12 kB / 0.5732 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.5649, allocations: 11.94 kB / 0.5733 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.5661, allocations: 0.6735 MB / 0.5739 GB, free: 5.598 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.006672/0.5728, allocations: 3.095 MB / 0.5769 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.5735, allocations: 226.6 kB / 0.5771 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.5736, allocations: 77.39 kB / 0.5772 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07688/0.6505, allocations: 30.76 MB / 0.6073 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000927/0.6515, allocations: 357.6 kB / 0.6076 GB, free: 460 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.705e-06/0.6515, allocations: 0 / 0.6076 GB, free: 460 kB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003054/0.6546, allocations: 0.9666 MB / 0.6085 GB, free: 15.47 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002598/0.6549, allocations: 482.5 kB / 0.609 GB, free: 14.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.655, allocations: 162.5 kB / 0.6092 GB, free: 14.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.6551, allocations: 37.7 kB / 0.6092 GB, free: 14.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.6552, allocations: 160 kB / 0.6093 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.6553, allocations: 130.1 kB / 0.6095 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.6554, allocations: 98.14 kB / 0.6096 GB, free: 14.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6556, allocations: 330.8 kB / 0.6099 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.6557, allocations: 73.08 kB / 0.6099 GB, free: 13.88 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.656, allocations: 322.1 kB / 0.6103 GB, free: 13.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.6565, allocations: 448.1 kB / 0.6107 GB, free: 12.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6566, allocations: 4 kB / 0.6107 GB, free: 12.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007639/0.6573, allocations: 447.3 kB / 0.6111 GB, free: 12.44 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.6574, allocations: 14.44 kB / 0.6111 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.6574, allocations: 11.94 kB / 0.6111 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.6593, allocations: 313.4 kB / 0.6114 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.6596, allocations: 107.8 kB / 0.6115 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007353/0.6604, allocations: 1.219 MB / 0.6127 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.6606, allocations: 16.19 kB / 0.6127 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.6607, allocations: 35.98 kB / 0.6128 GB, free: 10.68 MB / 478.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.0001838/0.6608, allocations: 161.5 kB / 0.6129 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.6609, allocations: 35.7 kB / 0.613 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.6623, allocations: 1.041 MB / 0.614 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.6623, allocations: 8 kB / 0.614 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.6624, allocations: 7.938 kB / 0.614 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.6624, allocations: 3.984 kB / 0.614 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.664, allocations: 1.552 MB / 0.6155 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.6641, allocations: 3.938 kB / 0.6155 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.6642, allocations: 47.91 kB / 0.6156 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.6654, allocations: 237.5 kB / 0.6158 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.6654, allocations: 8 kB / 0.6158 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000833/0.6663, allocations: 1.274 MB / 0.617 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.6663, allocations: 7.938 kB / 0.6171 GB, free: 6.055 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.6671, allocations: 0.5985 MB / 0.6176 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/0.6672, allocations: 100.8 kB / 0.6177 GB, free: 5.289 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.758e-05/0.6673, allocations: 55.36 kB / 0.6178 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.6675, allocations: 11.98 kB / 0.6178 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.6676, allocations: 27.97 kB / 0.6178 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.6676, allocations: 12 kB / 0.6178 GB, free: 5.184 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000346/0.668, allocations: 275.1 kB / 0.6181 GB, free: 4.914 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.668, allocations: 0 / 0.6181 GB, free: 4.914 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001945/0.6699, allocations: 439.6 kB / 0.6185 GB, free: 4.484 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 (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.001483/0.6714, allocations: 0.6586 MB / 0.6192 GB, free: 3.816 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006877/0.6721, allocations: 375.6 kB / 0.6195 GB, free: 3.441 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6721, allocations: 0 / 0.6195 GB, free: 3.441 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.6725, allocations: 234.9 kB / 0.6197 GB, free: 3.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/0.6733, allocations: 122.2 kB / 0.6199 GB, free: 3.082 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.233/1.906, allocations: 0.4918 GB / 1.112 GB, free: 65.21 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/1.906, allocations: 0.825 MB / 1.112 GB, free: 64.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003712/1.907, allocations: 161.5 kB / 1.113 GB, free: 64.22 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/1.907, allocations: 39.42 kB / 1.113 GB, free: 64.18 MB / 0.6075 GB Notification: Performance of SimCode: time 4.6e-07/1.907, allocations: 4 kB / 1.113 GB, free: 64.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.01738/1.924, allocations: 15.61 MB / 1.128 GB, free: 48.66 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches