Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 8 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 63.55 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4398/0.5767, allocations: 148.9 MB / 0.6172 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005902/0.5827, allocations: 5.139 MB / 0.6222 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.5829, allocations: 4 kB / 0.6222 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.5832, allocations: 51.72 kB / 0.6222 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.5862, allocations: 1.052 MB / 0.6233 GB, free: 9.504 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.5866, allocations: 133.4 kB / 0.6234 GB, free: 9.383 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006146/0.5872, allocations: 470 kB / 0.6238 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.5873, allocations: 13.69 kB / 0.6238 GB, free: 8.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.5876, allocations: 171.3 kB / 0.624 GB, free: 8.742 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.5879, allocations: 179.4 kB / 0.6242 GB, free: 8.566 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.5879, allocations: 8 kB / 0.6242 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.5901, allocations: 0.9869 MB / 0.6251 GB, free: 7.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.345e-05/0.5902, allocations: 43.81 kB / 0.6252 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.5904, allocations: 137.2 kB / 0.6253 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.5919, allocations: 0.8651 MB / 0.6262 GB, free: 6.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5919, allocations: 3.938 kB / 0.6262 GB, free: 6.52 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5919, allocations: 0 / 0.6262 GB, free: 6.52 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.5919, allocations: 0 / 0.6262 GB, free: 6.52 MB / 462.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.001246/0.5932, allocations: 0.6164 MB / 0.6268 GB, free: 5.852 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5932, allocations: 8.875 kB / 0.6268 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00804/0.6013, allocations: 0.6102 MB / 0.6274 GB, free: 5.234 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.6018, allocations: 263.7 kB / 0.6276 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.6019, allocations: 123.4 kB / 0.6277 GB, free: 4.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.6021, allocations: 20 kB / 0.6278 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.6033, allocations: 0.5634 MB / 0.6283 GB, free: 4.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.6033, allocations: 7.938 kB / 0.6283 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/0.6034, allocations: 12 kB / 0.6283 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.6034, allocations: 4 kB / 0.6283 GB, free: 4.156 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.605, allocations: 0.6338 MB / 0.629 GB, free: 3.52 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.002456/0.6074, allocations: 1.718 MB / 0.6306 GB, free: 1.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.6078, allocations: 154.5 kB / 0.6308 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.608, allocations: 72.83 kB / 0.6309 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008156/0.6088, allocations: 0.6966 MB / 0.6315 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.6089, allocations: 34.56 kB / 0.6316 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.384e-06/0.6089, allocations: 4 kB / 0.6316 GB, free: 0.5742 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.001108/0.61, allocations: 315.2 kB / 0.6319 GB, free: 268 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.6101, allocations: 59.41 kB / 0.6319 GB, free: 196 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.6103, allocations: 199 kB / 0.6321 GB, free: 15.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.6103, allocations: 29.64 kB / 0.6321 GB, free: 15.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.6105, allocations: 191.2 kB / 0.6323 GB, free: 15.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.6105, allocations: 59.11 kB / 0.6324 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.6106, allocations: 37.7 kB / 0.6324 GB, free: 15.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6107, allocations: 326.8 kB / 0.6327 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.6109, allocations: 68.7 kB / 0.6328 GB, free: 15.26 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.6112, allocations: 268 kB / 0.6331 GB, free: 14.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/0.6118, allocations: 368.8 kB / 0.6334 GB, free: 14.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.6118, allocations: 0 / 0.6334 GB, free: 14.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006584/0.6125, allocations: 365.6 kB / 0.6338 GB, free: 14.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.6125, allocations: 11.98 kB / 0.6338 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.6125, allocations: 8 kB / 0.6338 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.6125, allocations: 19.97 kB / 0.6338 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.613, allocations: 127.8 kB / 0.6339 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003552/0.6133, allocations: 0.5977 MB / 0.6345 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.6136, allocations: 43.53 kB / 0.6345 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.6137, allocations: 43.98 kB / 0.6346 GB, free: 13.22 MB / 478.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.0001595/0.6138, allocations: 153.6 kB / 0.6347 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.6139, allocations: 19.81 kB / 0.6347 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009668/0.6149, allocations: 435.8 kB / 0.6352 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.6149, allocations: 4 kB / 0.6352 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6149, allocations: 0 / 0.6352 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6149, allocations: 0 / 0.6352 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.616, allocations: 0.6304 MB / 0.6358 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.616, allocations: 0 / 0.6358 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.6162, allocations: 51.97 kB / 0.6358 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6162, allocations: 8.203 kB / 0.6358 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.268e-05/0.6163, allocations: 16 kB / 0.6359 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004588/0.6168, allocations: 0.5976 MB / 0.6364 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6168, allocations: 0 / 0.6364 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.6172, allocations: 293.3 kB / 0.6367 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.6173, allocations: 116.8 kB / 0.6368 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.6174, allocations: 0 / 0.6368 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.6176, allocations: 23.92 kB / 0.6368 GB, free: 10.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.6177, allocations: 15.98 kB / 0.6369 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.6177, allocations: 19.98 kB / 0.6369 GB, free: 10.67 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.6179, allocations: 144.2 kB / 0.637 GB, free: 10.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6179, allocations: 0 / 0.637 GB, free: 10.53 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007693/0.6187, allocations: 152 kB / 0.6372 GB, free: 10.38 MB / 478.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.0008135/0.6195, allocations: 254 kB / 0.6374 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005329/0.6201, allocations: 213.4 kB / 0.6376 GB, free: 9.926 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.6201, allocations: 4.062 kB / 0.6376 GB, free: 9.922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.6203, allocations: 79.83 kB / 0.6377 GB, free: 9.844 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.6209, allocations: 64.38 kB / 0.6378 GB, free: 9.781 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.6223, allocations: 0.8147 MB / 0.6385 GB, free: 8.926 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.6228, allocations: 0.7248 MB / 0.6393 GB, free: 8.172 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000854/0.6236, allocations: 385.2 kB / 0.6396 GB, free: 7.793 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.6239, allocations: 71.36 kB / 0.6397 GB, free: 7.723 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6239, allocations: 3.938 kB / 0.6397 GB, free: 7.719 MB / 478.1 MB Notification: Performance of Templates: time 0.01186/0.6357, allocations: 5.06 MB / 0.6446 GB, free: 2.695 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches