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.00188/0.00188, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002136/0.002136, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002431/0.002431, allocations: 71.88 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4727, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01436/0.4871, allocations: 11.29 MB / 0.5421 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.5023, allocations: 11.78 MB / 0.5536 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.5028, allocations: 3.938 kB / 0.5536 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.5034, allocations: 67.56 kB / 0.5536 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01418/0.5176, allocations: 3.13 MB / 0.5567 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.5182, allocations: 152.9 kB / 0.5568 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006806/0.525, allocations: 3.893 MB / 0.5606 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.5252, allocations: 16.41 kB / 0.5606 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.5256, allocations: 147.5 kB / 0.5608 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/0.536, allocations: 7.118 MB / 0.5677 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.5363, allocations: 8 kB / 0.5677 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008536/0.5448, allocations: 2.4 MB / 0.5701 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.545, allocations: 43.81 kB / 0.5701 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.5453, allocations: 123.4 kB / 0.5702 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008112/0.5535, allocations: 1.719 MB / 0.5719 GB, free: 7.727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5535, allocations: 0 / 0.5719 GB, free: 7.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5535, allocations: 0 / 0.5719 GB, free: 7.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.5535, allocations: 4 kB / 0.5719 GB, free: 7.723 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.003278/0.5568, allocations: 0.9555 MB / 0.5729 GB, free: 6.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.919e-05/0.5569, allocations: 8.031 kB / 0.5729 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009549/0.5579, allocations: 92.52 kB / 0.573 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007208/0.5586, allocations: 244 kB / 0.5732 GB, free: 6.344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.5587, allocations: 20.94 kB / 0.5732 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.5588, allocations: 28.31 kB / 0.5732 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.5602, allocations: 493.6 kB / 0.5737 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.5603, allocations: 3.938 kB / 0.5737 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.5603, allocations: 12 kB / 0.5737 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.5604, allocations: 8 kB / 0.5737 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.5619, allocations: 0.6773 MB / 0.5744 GB, free: 5.078 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.007326/0.5692, allocations: 3.136 MB / 0.5775 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.5701, allocations: 212.2 kB / 0.5777 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.5702, allocations: 77.39 kB / 0.5777 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08008/0.6503, allocations: 33.63 MB / 0.6106 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009174/0.6513, allocations: 362.4 kB / 0.6109 GB, free: 12.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 2.885e-06/0.6513, allocations: 0 / 0.6109 GB, free: 12.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002669/0.654, allocations: 0.8615 MB / 0.6118 GB, free: 11.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000241/0.6542, allocations: 482.9 kB / 0.6122 GB, free: 11.08 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.6544, allocations: 161.3 kB / 0.6124 GB, free: 10.92 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.6544, allocations: 33.7 kB / 0.6124 GB, free: 10.88 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.6545, allocations: 160 kB / 0.6126 GB, free: 10.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.6547, allocations: 130.1 kB / 0.6127 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.6548, allocations: 90.23 kB / 0.6128 GB, free: 10.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6549, allocations: 330.8 kB / 0.6131 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.655, allocations: 65.08 kB / 0.6132 GB, free: 10.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.6554, allocations: 318.1 kB / 0.6135 GB, free: 9.672 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.6559, allocations: 428.1 kB / 0.6139 GB, free: 9.137 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6559, allocations: 4 kB / 0.6139 GB, free: 9.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007055/0.6566, allocations: 412.9 kB / 0.6143 GB, free: 8.723 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.6567, allocations: 8 kB / 0.6143 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.6567, allocations: 8 kB / 0.6143 GB, free: 8.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.6567, allocations: 12 kB / 0.6143 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.6585, allocations: 348.2 kB / 0.6146 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006756/0.6592, allocations: 1.188 MB / 0.6158 GB, free: 7.121 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.6594, allocations: 15.91 kB / 0.6158 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.6595, allocations: 35.98 kB / 0.6158 GB, free: 7.07 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 (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.000157/0.6596, allocations: 153.6 kB / 0.616 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.6597, allocations: 35.98 kB / 0.616 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.661, allocations: 0.9268 MB / 0.6169 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.6611, allocations: 11.98 kB / 0.6169 GB, free: 5.898 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6611, allocations: 4.156 kB / 0.6169 GB, free: 5.895 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.6611, allocations: 8 kB / 0.6169 GB, free: 5.887 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.6631, allocations: 1.426 MB / 0.6183 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.6632, allocations: 4 kB / 0.6183 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.6642, allocations: 143.9 kB / 0.6185 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.6642, allocations: 4 kB / 0.6185 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.6643, allocations: 11.98 kB / 0.6185 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004434/0.6647, allocations: 0.5938 MB / 0.6191 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6647, allocations: 4 kB / 0.6191 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.6655, allocations: 0.5189 MB / 0.6196 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.6656, allocations: 108.7 kB / 0.6197 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.6657, allocations: 51.31 kB / 0.6197 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.666, allocations: 19.98 kB / 0.6197 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.6661, allocations: 19.98 kB / 0.6198 GB, free: 2.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.6661, allocations: 11.98 kB / 0.6198 GB, free: 2.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000356/0.6665, allocations: 275.1 kB / 0.62 GB, free: 2.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6665, allocations: 0 / 0.62 GB, free: 2.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002044/0.6685, allocations: 455.6 kB / 0.6205 GB, free: 2.035 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.001496/0.67, allocations: 0.6898 MB / 0.6212 GB, free: 1.336 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.6716, allocations: 402 kB / 0.6215 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.6716, allocations: 0 / 0.6215 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007629/0.6724, allocations: 237.4 kB / 0.6218 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007925/0.6732, allocations: 110 kB / 0.6219 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.359/2.033, allocations: 0.5369 GB / 1.159 GB, free: 16.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/2.033, allocations: 0.8195 MB / 1.16 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004067/2.033, allocations: 170.7 kB / 1.16 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/2.033, allocations: 39.42 kB / 1.16 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/2.033, allocations: 4 kB / 1.16 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of Templates: time 0.313/2.346, allocations: 15.76 MB / 1.175 GB, free: 226.3 MB / 0.6075 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