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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 99 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3819/0.3819, allocations: 44.84 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.393, allocations: 62.02 MB / 0.5151 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1656/0.5587, allocations: 148 MB / 0.6596 GB, free: 5.152 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.006223/0.565, allocations: 5.233 MB / 0.6647 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.5652, allocations: 4 kB / 0.6647 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.5656, allocations: 47.72 kB / 0.6648 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.5689, allocations: 1.045 MB / 0.6658 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.5692, allocations: 141.5 kB / 0.6659 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.5697, allocations: 466 kB / 0.6664 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.5698, allocations: 13.69 kB / 0.6664 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.5701, allocations: 167.3 kB / 0.6666 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.5704, allocations: 183.4 kB / 0.6667 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.5704, allocations: 8 kB / 0.6667 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.5723, allocations: 0.9869 MB / 0.6677 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.5724, allocations: 47.8 kB / 0.6678 GB, free: 12.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.5726, allocations: 111.5 kB / 0.6679 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.5739, allocations: 0.8615 MB / 0.6687 GB, free: 11.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5739, allocations: 4 kB / 0.6687 GB, free: 11.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.5739, allocations: 0 / 0.6687 GB, free: 11.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.5739, allocations: 0 / 0.6687 GB, free: 11.84 MB / 490.7 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.00127/0.5752, allocations: 0.6827 MB / 0.6694 GB, free: 11.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5753, allocations: 8.031 kB / 0.6694 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007804/0.5831, allocations: 0.6053 MB / 0.67 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.5835, allocations: 263.4 kB / 0.6702 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.5837, allocations: 127.3 kB / 0.6703 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.444e-05/0.5838, allocations: 28 kB / 0.6704 GB, free: 10.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.5849, allocations: 0.5556 MB / 0.6709 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.5849, allocations: 3.938 kB / 0.6709 GB, free: 9.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/0.585, allocations: 12 kB / 0.6709 GB, free: 9.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.585, allocations: 8 kB / 0.6709 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.5865, allocations: 0.6299 MB / 0.6716 GB, free: 8.777 MB / 490.7 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.002133/0.5887, allocations: 1.724 MB / 0.6732 GB, free: 6.906 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.589, allocations: 157.5 kB / 0.6734 GB, free: 6.746 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.5892, allocations: 76.83 kB / 0.6735 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/0.5899, allocations: 0.7005 MB / 0.6741 GB, free: 5.867 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.5899, allocations: 38.56 kB / 0.6742 GB, free: 5.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/0.5899, allocations: 0 / 0.6742 GB, free: 5.82 MB / 490.7 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.0009976/0.5909, allocations: 330.4 kB / 0.6745 GB, free: 5.496 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.591, allocations: 51.41 kB / 0.6745 GB, free: 5.434 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.5912, allocations: 198.9 kB / 0.6747 GB, free: 5.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.5912, allocations: 25.7 kB / 0.6748 GB, free: 5.199 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.5913, allocations: 187.2 kB / 0.6749 GB, free: 5.012 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.5914, allocations: 63.11 kB / 0.675 GB, free: 4.949 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.5915, allocations: 102 kB / 0.6751 GB, free: 4.844 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5917, allocations: 322.8 kB / 0.6754 GB, free: 4.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.5918, allocations: 64.7 kB / 0.6755 GB, free: 4.457 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.5921, allocations: 268 kB / 0.6757 GB, free: 4.102 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.5925, allocations: 363.7 kB / 0.6761 GB, free: 3.652 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5925, allocations: 4 kB / 0.6761 GB, free: 3.648 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006285/0.5932, allocations: 371.1 kB / 0.6764 GB, free: 3.281 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5932, allocations: 8 kB / 0.6764 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.5932, allocations: 11.94 kB / 0.6764 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.5933, allocations: 8 kB / 0.6765 GB, free: 3.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.5937, allocations: 131.8 kB / 0.6766 GB, free: 3.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004143/0.5941, allocations: 0.6021 MB / 0.6772 GB, free: 2.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.5943, allocations: 47.52 kB / 0.6772 GB, free: 2.453 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.5944, allocations: 40 kB / 0.6772 GB, free: 2.414 MB / 490.7 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.0001508/0.5946, allocations: 146.6 kB / 0.6774 GB, free: 2.262 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.236e-05/0.5946, allocations: 23.8 kB / 0.6774 GB, free: 2.238 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/0.5956, allocations: 433 kB / 0.6778 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5956, allocations: 0 / 0.6778 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5956, allocations: 4 kB / 0.6778 GB, free: 1.797 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5956, allocations: 3.984 kB / 0.6778 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008216/0.5965, allocations: 0.6381 MB / 0.6785 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5965, allocations: 0 / 0.6785 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.5967, allocations: 51.97 kB / 0.6785 GB, free: 1.008 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5967, allocations: 4 kB / 0.6785 GB, free: 1.004 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.5967, allocations: 15.92 kB / 0.6785 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003229/0.5971, allocations: 0.5979 MB / 0.6791 GB, free: 376 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5971, allocations: 4.109 kB / 0.6791 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2428/0.8398, allocations: 0.8938 MB / 0.68 GB, free: 144.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.84, allocations: 111.1 kB / 0.6801 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.8401, allocations: 4.422 kB / 0.6801 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.8404, allocations: 13.03 kB / 0.6801 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.8405, allocations: 27.02 kB / 0.6801 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.8405, allocations: 16.03 kB / 0.6801 GB, free: 144.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001686/0.8407, allocations: 142.3 kB / 0.6803 GB, free: 144.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8407, allocations: 0 / 0.6803 GB, free: 144.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009207/0.8416, allocations: 154 kB / 0.6804 GB, free: 144.5 MB / 490.7 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.0006736/0.8423, allocations: 239.5 kB / 0.6807 GB, free: 144.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000669/0.843, allocations: 220.2 kB / 0.6809 GB, free: 144.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.843, allocations: 1.031 kB / 0.6809 GB, free: 144.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.8432, allocations: 88.23 kB / 0.681 GB, free: 144.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.8438, allocations: 59.48 kB / 0.681 GB, free: 144.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.8453, allocations: 0.9057 MB / 0.6819 GB, free: 144 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.8455, allocations: 0.7361 MB / 0.6826 GB, free: 143.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009355/0.8464, allocations: 377 kB / 0.683 GB, free: 143.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.8466, allocations: 68.48 kB / 0.683 GB, free: 143.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.8466, allocations: 0 / 0.683 GB, free: 143.2 MB / 490.7 MB Notification: Performance of Templates: time 0.008049/0.8547, allocations: 5.149 MB / 0.6881 GB, free: 142.9 MB / 490.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches