Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001276/0.001276, allocations: 106.6 kB / 16.27 MB, free: 5.98 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.001378/0.001378, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2286/0.2286, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 71.27 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1307, allocations: 57.79 MB / 440.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01203/0.1428, allocations: 11.24 MB / 451.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.1598, allocations: 14.27 MB / 466 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.16, allocations: 0 / 466 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.1605, allocations: 67.56 kB / 466.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.1714, allocations: 3.113 MB / 469.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.1718, allocations: 151.5 kB / 469.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005091/0.1769, allocations: 3.905 MB / 473.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.538e-05/0.177, allocations: 16.39 kB / 473.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1772, allocations: 131.6 kB / 473.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008702/0.1859, allocations: 7.129 MB / 480.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.02e-05/0.186, allocations: 8 kB / 480.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006106/0.1921, allocations: 2.349 MB / 482.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1923, allocations: 47.75 kB / 482.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.1925, allocations: 127.5 kB / 483.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004554/0.197, allocations: 1.708 MB / 484.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1971, allocations: 0 / 484.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1971, allocations: 3.938 kB / 484.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.1971, allocations: 0 / 484.8 MB, free: 10.54 MB / 366.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.002429/0.1995, allocations: 0.9633 MB / 485.7 MB, free: 9.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/0.1996, allocations: 15.89 kB / 485.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005901/0.2002, allocations: 80.53 kB / 485.8 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.2005, allocations: 240.1 kB / 486.1 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.2006, allocations: 20.94 kB / 486.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/0.2006, allocations: 28.38 kB / 486.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009997/0.2016, allocations: 485.5 kB / 486.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2017, allocations: 0 / 486.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.2017, allocations: 16 kB / 486.6 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.2017, allocations: 8 kB / 486.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009982/0.2027, allocations: 0.6812 MB / 487.3 MB, free: 7.898 MB / 366.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.006332/0.2091, allocations: 3.136 MB / 490.4 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.2097, allocations: 219.4 kB / 490.6 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.2098, allocations: 73.39 kB / 490.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08618/0.296, allocations: 33.65 MB / 0.5121 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008376/0.2969, allocations: 345.7 kB / 0.5124 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/0.2969, allocations: 0 / 0.5124 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002844/0.2998, allocations: 0.8612 MB / 0.5133 GB, free: 14.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002306/0.3, allocations: 486.5 kB / 0.5137 GB, free: 13.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.3002, allocations: 152.3 kB / 0.5139 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.3003, allocations: 33.7 kB / 0.5139 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3004, allocations: 163.9 kB / 0.514 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.3005, allocations: 126.2 kB / 0.5142 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3007, allocations: 94.16 kB / 0.5143 GB, free: 13.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3008, allocations: 330.8 kB / 0.5146 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3009, allocations: 69.08 kB / 0.5146 GB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.3013, allocations: 306.2 kB / 0.5149 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.3019, allocations: 440 kB / 0.5154 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.3019, allocations: 0 / 0.5154 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007857/0.3027, allocations: 412.9 kB / 0.5157 GB, free: 11.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.3027, allocations: 12.78 kB / 0.5158 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3027, allocations: 8 kB / 0.5158 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.3028, allocations: 12 kB / 0.5158 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.3046, allocations: 344.2 kB / 0.5161 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006839/0.3053, allocations: 1.187 MB / 0.5173 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.3056, allocations: 23.94 kB / 0.5173 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.3056, allocations: 28 kB / 0.5173 GB, free: 9.895 MB / 414.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.0001914/0.3058, allocations: 165.8 kB / 0.5175 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.306, allocations: 27.72 kB / 0.5175 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.3074, allocations: 0.9489 MB / 0.5184 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.3074, allocations: 8 kB / 0.5184 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3074, allocations: 4 kB / 0.5184 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.3074, allocations: 4.203 kB / 0.5184 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.3092, allocations: 1.422 MB / 0.5198 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.3092, allocations: 7.938 kB / 0.5198 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.3103, allocations: 143.9 kB / 0.52 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.3103, allocations: 4 kB / 0.52 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.3103, allocations: 12 kB / 0.52 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003332/0.3106, allocations: 0.5975 MB / 0.5206 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/0.3107, allocations: 7.984 kB / 0.5206 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.3113, allocations: 0.5084 MB / 0.5211 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.3115, allocations: 100.8 kB / 0.5212 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.58e-05/0.3116, allocations: 55.31 kB / 0.5212 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.3118, allocations: 8 kB / 0.5212 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.3119, allocations: 31.95 kB / 0.5213 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.3119, allocations: 12 kB / 0.5213 GB, free: 5.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003233/0.3123, allocations: 279.1 kB / 0.5215 GB, free: 5.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3123, allocations: 0 / 0.5215 GB, free: 5.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002025/0.3143, allocations: 463.6 kB / 0.522 GB, free: 4.848 MB / 414.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.002581/0.3169, allocations: 0.6898 MB / 0.5227 GB, free: 4.148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.3187, allocations: 414.1 kB / 0.5231 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.3187, allocations: 0 / 0.5231 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009462/0.3197, allocations: 224 kB / 0.5233 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.3205, allocations: 118 kB / 0.5234 GB, free: 3.414 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.588/1.908, allocations: 0.5369 GB / 1.06 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.908, allocations: 0.8273 MB / 1.061 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006998/1.909, allocations: 157.5 kB / 1.061 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/1.909, allocations: 43.42 kB / 1.061 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/1.909, allocations: 0 / 1.061 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.279/2.188, allocations: 15.72 MB / 1.077 GB, free: 189.7 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches