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.001039/0.001039, allocations: 99.03 kB / 17 MB, free: 6.398 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.00132/0.00132, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.456/1.456, allocations: 223.3 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 44.24 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01171/0.1637, allocations: 10.18 MB / 481.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1753, allocations: 10.79 MB / 492.6 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003036/0.1756, allocations: 3.938 kB / 492.6 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004908/0.1761, allocations: 55.69 kB / 492.6 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.1865, allocations: 2.444 MB / 495.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.187, allocations: 146.8 kB / 495.2 MB, free: 6.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01071/0.1977, allocations: 7.412 MB / 0.4908 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.1979, allocations: 12.41 kB / 0.4909 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.1982, allocations: 143.5 kB / 0.491 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01928/0.2175, allocations: 14.16 MB / 0.5048 GB, free: 276 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.2176, allocations: 8 kB / 0.5048 GB, free: 268 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2919/0.5095, allocations: 2.194 MB / 0.507 GB, free: 34.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.5097, allocations: 43.44 kB / 0.507 GB, free: 34.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.5099, allocations: 73.27 kB / 0.5071 GB, free: 34.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.5135, allocations: 1.159 MB / 0.5082 GB, free: 33.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.5136, allocations: 1.531 kB / 0.5082 GB, free: 33.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5136, allocations: 0 / 0.5082 GB, free: 33.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.5136, allocations: 0 / 0.5082 GB, free: 33.96 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.003017/0.5166, allocations: 0.9093 MB / 0.5091 GB, free: 33.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.5167, allocations: 8.938 kB / 0.5091 GB, free: 33.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/0.5173, allocations: 79.23 kB / 0.5092 GB, free: 33.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.5177, allocations: 244.3 kB / 0.5094 GB, free: 33.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.5177, allocations: 19.31 kB / 0.5094 GB, free: 33.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.5178, allocations: 29.33 kB / 0.5095 GB, free: 33.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.5189, allocations: 483.5 kB / 0.5099 GB, free: 33.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.519, allocations: 0 / 0.5099 GB, free: 33.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.519, allocations: 15.12 kB / 0.5099 GB, free: 33.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.519, allocations: 7.359 kB / 0.5099 GB, free: 33.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.5203, allocations: 0.6802 MB / 0.5106 GB, free: 33.06 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.006568/0.5269, allocations: 3.114 MB / 0.5137 GB, free: 31.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006751/0.5276, allocations: 211.3 kB / 0.5139 GB, free: 31.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.5277, allocations: 75.75 kB / 0.5139 GB, free: 31.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06894/0.5967, allocations: 33.49 MB / 0.5466 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000691/0.5974, allocations: 339.8 kB / 0.547 GB, free: 6.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.946e-06/0.5974, allocations: 0 / 0.547 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002346/0.5998, allocations: 0.861 MB / 0.5478 GB, free: 5.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.5999, allocations: 480.3 kB / 0.5483 GB, free: 5.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.6, allocations: 154.4 kB / 0.5484 GB, free: 4.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.6001, allocations: 37.08 kB / 0.5484 GB, free: 4.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.6001, allocations: 165.2 kB / 0.5486 GB, free: 4.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.6002, allocations: 127.7 kB / 0.5487 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.6002, allocations: 12.52 kB / 0.5487 GB, free: 4.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.6003, allocations: 329.3 kB / 0.549 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-05/0.6004, allocations: 66.52 kB / 0.5491 GB, free: 4.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.6006, allocations: 308.3 kB / 0.5494 GB, free: 3.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.6008, allocations: 110.3 kB / 0.5495 GB, free: 3.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6008, allocations: 4 kB / 0.5495 GB, free: 3.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005337/0.6013, allocations: 394 kB / 0.5499 GB, free: 3.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.6013, allocations: 14.88 kB / 0.5499 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6014, allocations: 8 kB / 0.5499 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.6014, allocations: 12 kB / 0.5499 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.6028, allocations: 263.5 kB / 0.5502 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004028/0.6032, allocations: 1.193 MB / 0.5513 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.6035, allocations: 27.75 kB / 0.5514 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.6035, allocations: 35.84 kB / 0.5514 GB, free: 2 MB / 382.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.6037, allocations: 154.2 kB / 0.5515 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.6037, allocations: 38.75 kB / 0.5516 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.6048, allocations: 0.9661 MB / 0.5525 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.6048, allocations: 10.48 kB / 0.5525 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.6048, allocations: 4 kB / 0.5525 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6048, allocations: 0 / 0.5525 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.606, allocations: 1.418 MB / 0.5539 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.6061, allocations: 11.97 kB / 0.5539 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009459/0.607, allocations: 144.7 kB / 0.5541 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.607, allocations: 4 kB / 0.5541 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.6071, allocations: 11.11 kB / 0.5541 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003228/0.6074, allocations: 0.5813 MB / 0.5546 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.6074, allocations: 8.125 kB / 0.5547 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.6079, allocations: 0.5083 MB / 0.5552 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.6081, allocations: 216.1 kB / 0.5554 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.6082, allocations: 11.75 kB / 0.5554 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.6084, allocations: 19.11 kB / 0.5554 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.6085, allocations: 27.92 kB / 0.5554 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.6085, allocations: 13.69 kB / 0.5554 GB, free: 14.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000278/0.6088, allocations: 274 kB / 0.5557 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6088, allocations: 0 / 0.5557 GB, free: 14.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002202/0.611, allocations: 464.9 kB / 0.5561 GB, free: 13.76 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001648/0.6127, allocations: 0.6761 MB / 0.5568 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.6142, allocations: 404.4 kB / 0.5572 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6142, allocations: 3.844 kB / 0.5572 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007266/0.6149, allocations: 225.8 kB / 0.5574 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.6156, allocations: 103.1 kB / 0.5575 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.462/2.078, allocations: 0.5351 GB / 1.093 GB, free: 183.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/2.078, allocations: 0.8254 MB / 1.093 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005609/2.079, allocations: 163.6 kB / 1.094 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.82e-05/2.079, allocations: 37.67 kB / 1.094 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.443e-06/2.079, allocations: 0.8125 kB / 1.094 GB, free: 182.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.0209/2.1, allocations: 14.8 MB / 1.108 GB, free: 172.5 MB / 0.5137 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/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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches