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.001052/0.001059, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 75.88 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4285, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2029/0.6315, allocations: 153 MB / 0.6805 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006754/0.6383, allocations: 5.147 MB / 0.6855 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.6386, allocations: 0 / 0.6855 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.639, allocations: 59.58 kB / 0.6855 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003771/0.6428, allocations: 1.197 MB / 0.6867 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.6432, allocations: 143.1 kB / 0.6868 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007618/0.644, allocations: 398.1 kB / 0.6872 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.157e-05/0.644, allocations: 21.42 kB / 0.6872 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.6444, allocations: 167.4 kB / 0.6874 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.6448, allocations: 171.4 kB / 0.6876 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.6449, allocations: 11.94 kB / 0.6876 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.647, allocations: 1.029 MB / 0.6886 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.6472, allocations: 39.89 kB / 0.6886 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.6473, allocations: 107.5 kB / 0.6887 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.649, allocations: 0.8594 MB / 0.6896 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.649, allocations: 0 / 0.6896 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.649, allocations: 0 / 0.6896 GB, free: 14.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.6491, allocations: 0 / 0.6896 GB, free: 14.77 MB / 0.545 GB 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.001549/0.6506, allocations: 0.675 MB / 0.6902 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.6507, allocations: 8.031 kB / 0.6902 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007559/0.6582, allocations: 0.6131 MB / 0.6908 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.6588, allocations: 263.3 kB / 0.6911 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.6589, allocations: 127.4 kB / 0.6912 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.659, allocations: 24 kB / 0.6912 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.6603, allocations: 0.5595 MB / 0.6918 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.6603, allocations: 0 / 0.6918 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.6604, allocations: 12 kB / 0.6918 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.6604, allocations: 8 kB / 0.6918 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.6619, allocations: 0.6299 MB / 0.6924 GB, free: 11.71 MB / 0.545 GB 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.002394/0.6643, allocations: 1.721 MB / 0.6941 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.6646, allocations: 154.5 kB / 0.6942 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.6648, allocations: 72.88 kB / 0.6943 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007418/0.6655, allocations: 0.712 MB / 0.695 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.6656, allocations: 30.56 kB / 0.695 GB, free: 8.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.6656, allocations: 0 / 0.695 GB, free: 8.75 MB / 0.545 GB 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.00104/0.6666, allocations: 323.4 kB / 0.6953 GB, free: 8.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.6667, allocations: 59.31 kB / 0.6954 GB, free: 8.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.6669, allocations: 191.8 kB / 0.6956 GB, free: 8.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.6669, allocations: 29.7 kB / 0.6956 GB, free: 8.129 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.6671, allocations: 187.2 kB / 0.6958 GB, free: 7.941 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.6671, allocations: 63.19 kB / 0.6958 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.6673, allocations: 97.95 kB / 0.6959 GB, free: 7.777 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6674, allocations: 326.8 kB / 0.6962 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.6675, allocations: 64.7 kB / 0.6963 GB, free: 7.387 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.6678, allocations: 260 kB / 0.6966 GB, free: 7.039 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.6683, allocations: 364 kB / 0.6969 GB, free: 6.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.6683, allocations: 4 kB / 0.6969 GB, free: 6.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006726/0.669, allocations: 373.3 kB / 0.6973 GB, free: 6.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.6691, allocations: 8 kB / 0.6973 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.6691, allocations: 19.86 kB / 0.6973 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.6691, allocations: 11.94 kB / 0.6973 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.6696, allocations: 131.8 kB / 0.6974 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004665/0.67, allocations: 0.6097 MB / 0.698 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.6703, allocations: 43.53 kB / 0.6981 GB, free: 5.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/0.6704, allocations: 44 kB / 0.6981 GB, free: 5.328 MB / 0.545 GB 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.0001681/0.6706, allocations: 149.6 kB / 0.6982 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.6707, allocations: 15.81 kB / 0.6983 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008417/0.6715, allocations: 424.4 kB / 0.6987 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6715, allocations: 3.984 kB / 0.6987 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6715, allocations: 4 kB / 0.6987 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6715, allocations: 0 / 0.6987 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009039/0.6725, allocations: 0.6305 MB / 0.6993 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6725, allocations: 8.031 kB / 0.6993 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.6727, allocations: 55.91 kB / 0.6994 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.6727, allocations: 4 kB / 0.6994 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.6728, allocations: 15.92 kB / 0.6994 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003521/0.6731, allocations: 0.5977 MB / 0.7 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6731, allocations: 0 / 0.7 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.6736, allocations: 297.4 kB / 0.7002 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.6737, allocations: 108.8 kB / 0.7003 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.6737, allocations: 8 kB / 0.7003 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.674, allocations: 15.98 kB / 0.7004 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.674, allocations: 11.98 kB / 0.7004 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.6741, allocations: 23.94 kB / 0.7004 GB, free: 2.777 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001193/0.6742, allocations: 140.1 kB / 0.7005 GB, free: 2.641 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6742, allocations: 0 / 0.7005 GB, free: 2.641 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007119/0.6749, allocations: 159.8 kB / 0.7007 GB, free: 2.484 MB / 0.545 GB 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.0006692/0.6756, allocations: 244.6 kB / 0.7009 GB, free: 2.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.6762, allocations: 225 kB / 0.7011 GB, free: 2.023 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6762, allocations: 0 / 0.7011 GB, free: 2.023 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.6764, allocations: 83.83 kB / 0.7012 GB, free: 1.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.6769, allocations: 61.05 kB / 0.7013 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.6785, allocations: 0.7006 MB / 0.702 GB, free: 1.137 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.6789, allocations: 0.7285 MB / 0.7027 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006575/0.6795, allocations: 381 kB / 0.703 GB, free: 12 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.6797, allocations: 63.38 kB / 0.7031 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.6797, allocations: 4 kB / 0.7031 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.01092/0.6907, allocations: 5.222 MB / 0.7082 GB, free: 10.75 MB / 0.5606 GB 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