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.001002/0.001002, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 201.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000257/0.000257, allocations: 11.98 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 63.56 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01192/0.1374, allocations: 11.02 MB / 494.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.1501, allocations: 11.83 MB / 0.4941 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.1503, allocations: 4 kB / 0.4941 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.1506, allocations: 63.62 kB / 0.4942 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008834/0.1595, allocations: 2.637 MB / 0.4967 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1599, allocations: 143.3 kB / 0.4969 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005851/0.1657, allocations: 4.145 MB / 0.5009 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.1658, allocations: 20.41 kB / 0.5009 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.166, allocations: 135.4 kB / 0.5011 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2665/0.4325, allocations: 7.554 MB / 0.5084 GB, free: 22.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.4326, allocations: 6.531 kB / 0.5084 GB, free: 22.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006028/0.4386, allocations: 2.093 MB / 0.5105 GB, free: 22.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.4388, allocations: 45.55 kB / 0.5105 GB, free: 22.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.439, allocations: 148.6 kB / 0.5107 GB, free: 22.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.4434, allocations: 1.532 MB / 0.5122 GB, free: 22.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4434, allocations: 0 / 0.5122 GB, free: 22.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4434, allocations: 0 / 0.5122 GB, free: 22.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.4434, allocations: 1.031 kB / 0.5122 GB, free: 22.18 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.002224/0.4456, allocations: 0.8609 MB / 0.513 GB, free: 21.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.4457, allocations: 10.06 kB / 0.513 GB, free: 21.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.4463, allocations: 81.72 kB / 0.5131 GB, free: 21.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.4466, allocations: 250.6 kB / 0.5133 GB, free: 21.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4466, allocations: 19.5 kB / 0.5134 GB, free: 21.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.4466, allocations: 25.88 kB / 0.5134 GB, free: 21.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009959/0.4476, allocations: 482.8 kB / 0.5138 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4477, allocations: 4.875 kB / 0.5139 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.4477, allocations: 18.97 kB / 0.5139 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.4477, allocations: 6.875 kB / 0.5139 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.449, allocations: 0.6799 MB / 0.5145 GB, free: 21.28 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.006464/0.4554, allocations: 3.083 MB / 0.5176 GB, free: 19.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.4562, allocations: 216.8 kB / 0.5178 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.4563, allocations: 73.91 kB / 0.5178 GB, free: 19.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07561/0.532, allocations: 30.61 MB / 0.5477 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008/0.5328, allocations: 349.7 kB / 0.5481 GB, free: 14.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.276e-06/0.5328, allocations: 0 / 0.5481 GB, free: 14.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003329/0.5362, allocations: 0.9831 MB / 0.549 GB, free: 13.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.5364, allocations: 477.1 kB / 0.5495 GB, free: 12.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.5366, allocations: 161.3 kB / 0.5496 GB, free: 12.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.5366, allocations: 33.58 kB / 0.5497 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.5367, allocations: 160.9 kB / 0.5498 GB, free: 12.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.5369, allocations: 135.6 kB / 0.5499 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.5369, allocations: 39.95 kB / 0.55 GB, free: 12.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5371, allocations: 330.2 kB / 0.5503 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.5372, allocations: 75.52 kB / 0.5504 GB, free: 12.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.5375, allocations: 315.5 kB / 0.5507 GB, free: 11.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/0.538, allocations: 454.4 kB / 0.5511 GB, free: 11.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.538, allocations: 4 kB / 0.5511 GB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007167/0.5387, allocations: 438.8 kB / 0.5515 GB, free: 10.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5388, allocations: 12.19 kB / 0.5515 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.5388, allocations: 8 kB / 0.5515 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.5408, allocations: 308 kB / 0.5518 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.5411, allocations: 103.6 kB / 0.5519 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006891/0.5418, allocations: 1.221 MB / 0.5531 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.5421, allocations: 21.8 kB / 0.5531 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.5422, allocations: 31.31 kB / 0.5532 GB, free: 9.23 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 (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.0001748/0.5424, allocations: 168.4 kB / 0.5533 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.5425, allocations: 31.28 kB / 0.5534 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.5439, allocations: 1.05 MB / 0.5544 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.5439, allocations: 4 kB / 0.5544 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5439, allocations: 7.938 kB / 0.5544 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5439, allocations: 4.203 kB / 0.5544 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.5456, allocations: 1.545 MB / 0.5559 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5456, allocations: 4 kB / 0.5559 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.5458, allocations: 51.66 kB / 0.556 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.547, allocations: 237.6 kB / 0.5562 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.5471, allocations: 19.98 kB / 0.5562 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006881/0.5478, allocations: 1.265 MB / 0.5575 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5478, allocations: 3.656 kB / 0.5575 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.5484, allocations: 0.6104 MB / 0.5581 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.5486, allocations: 219 kB / 0.5583 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.5487, allocations: 11.94 kB / 0.5583 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.5489, allocations: 20.02 kB / 0.5583 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.549, allocations: 27.97 kB / 0.5583 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.549, allocations: 8 kB / 0.5583 GB, free: 4.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.5493, allocations: 279.1 kB / 0.5586 GB, free: 3.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.5493, allocations: 0 / 0.5586 GB, free: 3.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0018/0.5511, allocations: 442.6 kB / 0.559 GB, free: 3.535 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 (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.001443/0.5525, allocations: 0.6511 MB / 0.5596 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006059/0.5532, allocations: 364.8 kB / 0.56 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5532, allocations: 0 / 0.56 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.5535, allocations: 226.6 kB / 0.5602 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000973/0.5544, allocations: 119.1 kB / 0.5603 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.121/1.675, allocations: 0.4901 GB / 1.05 GB, free: 66.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/1.675, allocations: 0.8195 MB / 1.051 GB, free: 65.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005821/1.676, allocations: 166.4 kB / 1.051 GB, free: 65.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/1.676, allocations: 35.44 kB / 1.051 GB, free: 65.07 MB / 0.5294 GB Notification: Performance of SimCode: time 1.413e-06/1.676, allocations: 0 / 1.051 GB, free: 65.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.02307/1.699, allocations: 15.21 MB / 1.066 GB, free: 49.96 MB / 0.5294 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