Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 109.9 kB / 18.3 MB, free: 4.883 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.001205/0.001205, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.366/1.366, allocations: 222.9 MB / 242.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2065/0.2065, allocations: 44.19 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 68.59 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1183, allocations: 60.83 MB / 469.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3642/0.4825, allocations: 150.1 MB / 0.6055 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005973/0.4885, allocations: 5.149 MB / 0.6105 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.4888, allocations: 0 / 0.6105 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.4891, allocations: 51.59 kB / 0.6106 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003355/0.4925, allocations: 1.202 MB / 0.6118 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.4929, allocations: 150.9 kB / 0.6119 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.4935, allocations: 402.1 kB / 0.6123 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.4935, allocations: 9.688 kB / 0.6123 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.4938, allocations: 171.3 kB / 0.6125 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.4942, allocations: 163.5 kB / 0.6126 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.4943, allocations: 8 kB / 0.6126 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.4963, allocations: 0.9754 MB / 0.6136 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.4965, allocations: 47.77 kB / 0.6136 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.4966, allocations: 103.5 kB / 0.6137 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.4985, allocations: 0.8381 MB / 0.6145 GB, free: 1.324 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4985, allocations: 11.98 kB / 0.6146 GB, free: 1.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4985, allocations: 0 / 0.6146 GB, free: 1.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.4985, allocations: 4 kB / 0.6146 GB, free: 1.309 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001586/0.5001, allocations: 0.6795 MB / 0.6152 GB, free: 0.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5002, allocations: 8.031 kB / 0.6152 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008125/0.5083, allocations: 0.5897 MB / 0.6158 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.5088, allocations: 263.7 kB / 0.6161 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.509, allocations: 127.4 kB / 0.6162 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.5091, allocations: 16 kB / 0.6162 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.5104, allocations: 0.5673 MB / 0.6167 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.5105, allocations: 3.984 kB / 0.6168 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-05/0.5106, allocations: 12 kB / 0.6168 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.5106, allocations: 4 kB / 0.6168 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.5121, allocations: 0.6299 MB / 0.6174 GB, free: 14.27 MB / 462.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.00248/0.5146, allocations: 1.719 MB / 0.6191 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.515, allocations: 154.5 kB / 0.6192 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.5152, allocations: 80.83 kB / 0.6193 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000805/0.516, allocations: 0.6965 MB / 0.62 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.516, allocations: 42.5 kB / 0.62 GB, free: 11.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.774e-06/0.516, allocations: 0 / 0.62 GB, free: 11.31 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001129/0.5172, allocations: 320 kB / 0.6203 GB, free: 10.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.5172, allocations: 55.41 kB / 0.6204 GB, free: 10.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.5174, allocations: 191 kB / 0.6205 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.5175, allocations: 29.7 kB / 0.6206 GB, free: 10.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.5176, allocations: 195.1 kB / 0.6208 GB, free: 10.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.5177, allocations: 63.11 kB / 0.6208 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.5178, allocations: 97.95 kB / 0.6209 GB, free: 10.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.518, allocations: 322.8 kB / 0.6212 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.5181, allocations: 72.64 kB / 0.6213 GB, free: 9.938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.5184, allocations: 260.1 kB / 0.6215 GB, free: 9.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.5189, allocations: 366.1 kB / 0.6219 GB, free: 9.137 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.5189, allocations: 8 kB / 0.6219 GB, free: 9.129 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006848/0.5196, allocations: 365.2 kB / 0.6222 GB, free: 8.766 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5197, allocations: 11.94 kB / 0.6223 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.5197, allocations: 8 kB / 0.6223 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.5197, allocations: 11.94 kB / 0.6223 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.5201, allocations: 127.8 kB / 0.6224 GB, free: 8.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000396/0.5205, allocations: 0.6098 MB / 0.623 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.5208, allocations: 39.53 kB / 0.623 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.5209, allocations: 43.94 kB / 0.6231 GB, free: 7.895 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001634/0.5211, allocations: 145.6 kB / 0.6232 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.5211, allocations: 19.81 kB / 0.6232 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.5222, allocations: 450.1 kB / 0.6237 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5222, allocations: 4 kB / 0.6237 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5222, allocations: 0 / 0.6237 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5222, allocations: 0 / 0.6237 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000958/0.5231, allocations: 0.6343 MB / 0.6243 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5232, allocations: 4 kB / 0.6243 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.5234, allocations: 55.91 kB / 0.6243 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.5234, allocations: 0 / 0.6243 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.5235, allocations: 15.98 kB / 0.6244 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003459/0.5238, allocations: 0.5901 MB / 0.6249 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.5238, allocations: 8 kB / 0.6249 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.5242, allocations: 285.3 kB / 0.6252 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.5244, allocations: 112.8 kB / 0.6253 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.5244, allocations: 8 kB / 0.6253 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.5247, allocations: 8 kB / 0.6253 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.5247, allocations: 23.91 kB / 0.6254 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.5248, allocations: 15.94 kB / 0.6254 GB, free: 5.355 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.5249, allocations: 148.2 kB / 0.6255 GB, free: 5.211 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5249, allocations: 0 / 0.6255 GB, free: 5.211 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006712/0.5256, allocations: 155.9 kB / 0.6257 GB, free: 5.059 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006671/0.5263, allocations: 237.5 kB / 0.6259 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005943/0.5269, allocations: 231.9 kB / 0.6261 GB, free: 4.598 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.5269, allocations: 4 kB / 0.6261 GB, free: 4.594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.5271, allocations: 85.33 kB / 0.6262 GB, free: 4.512 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.5277, allocations: 56.27 kB / 0.6262 GB, free: 4.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.5293, allocations: 0.7105 MB / 0.6269 GB, free: 3.691 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.5296, allocations: 0.7245 MB / 0.6276 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.53, allocations: 95.34 kB / 0.6277 GB, free: 2.848 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.53, allocations: 3.938 kB / 0.6277 GB, free: 2.844 MB / 462.1 MB Notification: Performance of Templates: time 0.009467/0.5394, allocations: 5.281 MB / 0.6329 GB, free: 13.57 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches