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.001194/0.001194, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.00131, 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.448/1.448, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 79.81 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4329, 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.197/0.6299, allocations: 153 MB / 0.6804 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006692/0.6367, allocations: 5.155 MB / 0.6855 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.6368, allocations: 0 / 0.6855 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.6372, allocations: 51.61 kB / 0.6855 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.6412, allocations: 1.205 MB / 0.6867 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.6416, allocations: 142 kB / 0.6868 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.6421, allocations: 390.1 kB / 0.6872 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.6422, allocations: 21.47 kB / 0.6872 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.6425, allocations: 163.4 kB / 0.6874 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.6428, allocations: 179.4 kB / 0.6876 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.6428, allocations: 8 kB / 0.6876 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.6448, allocations: 1.025 MB / 0.6886 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.067e-05/0.6449, allocations: 47.81 kB / 0.6886 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.645, allocations: 107.5 kB / 0.6887 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.6464, allocations: 0.8477 MB / 0.6895 GB, free: 14.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6464, allocations: 0 / 0.6895 GB, free: 14.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6464, allocations: 0 / 0.6895 GB, free: 14.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6464, allocations: 0 / 0.6895 GB, free: 14.8 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.001528/0.6479, allocations: 0.6849 MB / 0.6902 GB, free: 14.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.648, allocations: 16.03 kB / 0.6902 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00773/0.6557, allocations: 0.6014 MB / 0.6908 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.6564, allocations: 271.4 kB / 0.6911 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.6565, allocations: 115.4 kB / 0.6912 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.6566, allocations: 24 kB / 0.6912 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.6578, allocations: 0.5634 MB / 0.6918 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.6579, allocations: 3.938 kB / 0.6918 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/0.6579, allocations: 15.98 kB / 0.6918 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.658, allocations: 8 kB / 0.6918 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.6596, allocations: 0.6338 MB / 0.6924 GB, free: 11.73 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.002405/0.662, allocations: 1.714 MB / 0.6941 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.6624, allocations: 154.5 kB / 0.6942 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.6625, allocations: 76.83 kB / 0.6943 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007344/0.6633, allocations: 0.7042 MB / 0.695 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.6633, allocations: 34.56 kB / 0.695 GB, free: 8.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.6633, allocations: 0 / 0.695 GB, free: 8.781 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.001094/0.6644, allocations: 321.1 kB / 0.6953 GB, free: 8.461 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.6645, allocations: 59.25 kB / 0.6954 GB, free: 8.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.6646, allocations: 195.8 kB / 0.6956 GB, free: 8.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.6647, allocations: 29.7 kB / 0.6956 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.6648, allocations: 187.2 kB / 0.6958 GB, free: 7.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.6648, allocations: 63.19 kB / 0.6958 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.665, allocations: 97.95 kB / 0.6959 GB, free: 7.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6651, allocations: 326.8 kB / 0.6962 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.6653, allocations: 64.7 kB / 0.6963 GB, free: 7.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.6656, allocations: 268 kB / 0.6966 GB, free: 7.059 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/0.6661, allocations: 359.5 kB / 0.6969 GB, free: 6.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.6661, allocations: 8 kB / 0.6969 GB, free: 6.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007623/0.6669, allocations: 368.3 kB / 0.6973 GB, free: 6.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6669, allocations: 8 kB / 0.6973 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.667, allocations: 11.94 kB / 0.6973 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.667, allocations: 11.94 kB / 0.6973 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.6674, allocations: 127.8 kB / 0.6974 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003832/0.6678, allocations: 0.6059 MB / 0.698 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.668, allocations: 47.53 kB / 0.698 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.6681, allocations: 43.98 kB / 0.6981 GB, free: 5.367 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.0001529/0.6683, allocations: 145.6 kB / 0.6982 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.6683, allocations: 15.81 kB / 0.6982 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007775/0.6691, allocations: 441.1 kB / 0.6987 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6691, allocations: 0 / 0.6987 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6691, allocations: 0 / 0.6987 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6691, allocations: 7.984 kB / 0.6987 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008661/0.67, allocations: 0.6344 MB / 0.6993 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.67, allocations: 0 / 0.6993 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.6702, allocations: 55.97 kB / 0.6993 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.6703, allocations: 4 kB / 0.6993 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.6703, allocations: 7.938 kB / 0.6994 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003211/0.6706, allocations: 0.5977 MB / 0.6999 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6706, allocations: 4.25 kB / 0.6999 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.671, allocations: 297.3 kB / 0.7002 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.6711, allocations: 108.8 kB / 0.7003 GB, free: 2.867 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.6712, allocations: 4 kB / 0.7003 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.6714, allocations: 11.98 kB / 0.7003 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.6715, allocations: 11.98 kB / 0.7004 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.6715, allocations: 27.92 kB / 0.7004 GB, free: 2.812 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001315/0.6717, allocations: 144.2 kB / 0.7005 GB, free: 2.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6717, allocations: 7.938 kB / 0.7005 GB, free: 2.664 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006589/0.6723, allocations: 151.8 kB / 0.7007 GB, free: 2.516 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.0005925/0.6729, allocations: 255.8 kB / 0.7009 GB, free: 2.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005001/0.6734, allocations: 224.3 kB / 0.7011 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6734, allocations: 0 / 0.7011 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.6737, allocations: 77.39 kB / 0.7012 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.6742, allocations: 64.17 kB / 0.7013 GB, free: 1.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.6755, allocations: 0.7041 MB / 0.702 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.6758, allocations: 0.7206 MB / 0.7027 GB, free: 424 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000593/0.6764, allocations: 381 kB / 0.703 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.6766, allocations: 63.42 kB / 0.7031 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.6766, allocations: 4 kB / 0.7031 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.009628/0.6862, allocations: 5.264 MB / 0.7082 GB, free: 10.74 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