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.001098/0.001098, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001171/0.001171, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.413/1.413, allocations: 222.9 MB / 243 MB, free: 15.16 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.2246/0.2246, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 65.47 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1055, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3538/0.4594, allocations: 150.1 MB / 0.6063 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.465, allocations: 5.147 MB / 0.6113 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.4651, allocations: 0 / 0.6113 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.4655, allocations: 55.61 kB / 0.6114 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.4688, allocations: 1.202 MB / 0.6125 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.4691, allocations: 142.8 kB / 0.6127 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004817/0.4696, allocations: 390.2 kB / 0.613 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.4697, allocations: 15.5 kB / 0.613 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.4699, allocations: 167.3 kB / 0.6132 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.4702, allocations: 171.5 kB / 0.6134 GB, free: 2.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.4702, allocations: 12 kB / 0.6134 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.4721, allocations: 1.014 MB / 0.6144 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.841e-05/0.4722, allocations: 47.75 kB / 0.6144 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.4723, allocations: 107.5 kB / 0.6145 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.4736, allocations: 0.8418 MB / 0.6153 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4736, allocations: 0 / 0.6153 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4736, allocations: 0 / 0.6153 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.4736, allocations: 0 / 0.6153 GB, free: 0.7305 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.001235/0.4749, allocations: 0.6834 MB / 0.616 GB, free: 0 / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4749, allocations: 16.02 kB / 0.616 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007254/0.4822, allocations: 0.5897 MB / 0.6166 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.4827, allocations: 267.7 kB / 0.6169 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.4829, allocations: 123.3 kB / 0.617 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.279e-05/0.483, allocations: 20 kB / 0.617 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.4842, allocations: 0.5595 MB / 0.6175 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4843, allocations: 12.8 kB / 0.6176 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/0.4843, allocations: 12 kB / 0.6176 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.4844, allocations: 4 kB / 0.6176 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.4858, allocations: 0.6299 MB / 0.6182 GB, free: 13.67 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.002117/0.4879, allocations: 1.711 MB / 0.6199 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.4883, allocations: 158.5 kB / 0.62 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.4884, allocations: 80.94 kB / 0.6201 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.4891, allocations: 0.6927 MB / 0.6208 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4891, allocations: 38.56 kB / 0.6208 GB, free: 10.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.4891, allocations: 0 / 0.6208 GB, free: 10.73 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.001045/0.4902, allocations: 324.4 kB / 0.6211 GB, free: 10.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.4903, allocations: 51.41 kB / 0.6212 GB, free: 10.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.4905, allocations: 195 kB / 0.6213 GB, free: 10.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.4905, allocations: 33.7 kB / 0.6214 GB, free: 10.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4906, allocations: 191.1 kB / 0.6216 GB, free: 9.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.4907, allocations: 63.09 kB / 0.6216 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.4909, allocations: 93.97 kB / 0.6217 GB, free: 9.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.491, allocations: 330.8 kB / 0.622 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.4912, allocations: 69.52 kB / 0.6221 GB, free: 9.352 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.4915, allocations: 264 kB / 0.6223 GB, free: 9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.4919, allocations: 371.5 kB / 0.6227 GB, free: 8.543 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4919, allocations: 0 / 0.6227 GB, free: 8.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006474/0.4926, allocations: 371.2 kB / 0.623 GB, free: 8.176 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4926, allocations: 12 kB / 0.6231 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.4926, allocations: 4 kB / 0.6231 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.4927, allocations: 16.75 kB / 0.6231 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.4931, allocations: 125.6 kB / 0.6232 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003651/0.4935, allocations: 0.6016 MB / 0.6238 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.4937, allocations: 47.53 kB / 0.6238 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/0.4938, allocations: 43.98 kB / 0.6239 GB, free: 7.309 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.0001388/0.4939, allocations: 145.6 kB / 0.624 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.494, allocations: 19.91 kB / 0.624 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007933/0.4948, allocations: 433.7 kB / 0.6244 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4948, allocations: 4 kB / 0.6244 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4948, allocations: 0 / 0.6244 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4948, allocations: 0 / 0.6244 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008499/0.4957, allocations: 0.6343 MB / 0.6251 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4957, allocations: 0 / 0.6251 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.4959, allocations: 61.14 kB / 0.6251 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4959, allocations: 4 kB / 0.6251 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.496, allocations: 4 kB / 0.6251 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003309/0.4963, allocations: 0.6017 MB / 0.6257 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4963, allocations: 4.031 kB / 0.6257 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.4967, allocations: 289.3 kB / 0.626 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.4968, allocations: 112.8 kB / 0.6261 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.4969, allocations: 4 kB / 0.6261 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.4971, allocations: 15.98 kB / 0.6261 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.4972, allocations: 23.98 kB / 0.6261 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.4972, allocations: 19.92 kB / 0.6262 GB, free: 4.762 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.4974, allocations: 144.2 kB / 0.6263 GB, free: 4.621 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4974, allocations: 3.938 kB / 0.6263 GB, free: 4.617 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005915/0.498, allocations: 151.9 kB / 0.6265 GB, free: 4.469 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.0005347/0.4985, allocations: 236.2 kB / 0.6267 GB, free: 4.242 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005092/0.499, allocations: 237.3 kB / 0.6269 GB, free: 4.012 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.499, allocations: 0 / 0.6269 GB, free: 4.012 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.4992, allocations: 76.27 kB / 0.627 GB, free: 3.938 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.4998, allocations: 61.86 kB / 0.627 GB, free: 3.879 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.5011, allocations: 0.6854 MB / 0.6277 GB, free: 3.145 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.5015, allocations: 0.7323 MB / 0.6284 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006576/0.5021, allocations: 385.1 kB / 0.6288 GB, free: 2.008 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.5023, allocations: 59.39 kB / 0.6288 GB, free: 1.949 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5023, allocations: 0 / 0.6288 GB, free: 1.949 MB / 462.1 MB Notification: Performance of Templates: time 0.009611/0.5119, allocations: 5.164 MB / 0.6339 GB, free: 12.82 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 -s gbode -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